Grails Fields Plugin
Customizable form-field rendering based on overrideable GSP template
Documentation links
Fields plugin description
The Fields plugin allows you to customize the rendering of input fields for properties of domain objects, command beans and POGOs based on their type, name, etc. The plugin aims to:
-
Use good defaults for fields.
-
Make it very easy to override the field rendering for particular properties or property types without having to replace entire form templates.
-
Not require you to copy and paste markup for containers, labels and error messages just because you need a different input type.
-
Support inputs for property paths of arbitrary depth and with indexing.
-
Enable other plugins to provide field rendering for special property types that gets picked up automatically (e.g. the Joda Time plugin can provide templates for the various date/time types).
-
Support embedded properties of GORM domain classes.