robfletcher/grails-fields — pull request #51 by bluesliverx (2012-03-07 16:33:48+00:00)
Title: Add prefix option to all and field

Oftentimes I want to prefix my input field names with something like "book." to end with name="book.title" instead of just name="title". This is especially true as I have a field called "name" which throws some unresolvable errors since the name is "name".

I added the option to specify a prefix in the all or field tags. I tried to follow convention where possible and also added to the documentation.

This would also work well in a 'with' tag, but I just haven't taken the time to sort it all out yet.

Thoughts? I'm open to suggestions.