What this does is prevent me from having to set these fields every time I use the textfield tag, it just assumes what I set it to in the settings file, I can even override the default if I want.
How do I set defaults for html.textfield and others?
I haven’t used the HTML Helper a ton so Luis can correct me if I’m wrong, but I don’t think we have a way to save a reusable “template” of how an element should be rendered. I can think of some interesting ways to do that, perhaps with providing closures or something to build an HTMl block with DSL or something. Nonetheless, can you put in a ticket so we can discuss. We’d love input and pull requests on the matter
Actually that’s one thing that I have found very helpful about cfwheels is that I can use the set() tag to set defaults for any core function in the framework. Keeps the code very DRY.