robfletcher/grails-fields — Issue #54: How to reference the custom field body in a customized field rendering template?
Author: edgescope
Created: 2012-03-08 16:46:43+00:00
State: open

I have some custom templates working, where they know the type of widget they're generating, but what I'd like to do for the default/_field.gsp template is to wrap the widget with my custom look and feel, but then delegate the the input creation.

i.e. Let's say I have the following customized f:field defined.
```gsp

```

And my default/_field.gsp looks something like this:
```gsp
${label}<%= required ? "*" : ""%>
${WHATGOESHERE?}

```

What should I replace WHATGOESHERE with?
TIA,
Dan