(Quick Reference)
f:input
Description
f:display renders an a property for display. If there is no
_display template in scope the tag will simply render the property value.
If the
f:display tag has a body its output is used as the value passed as the
value model to the
_display template. If there is no body then the 'raw' property value is passed to
g:fieldValue ,
g:formatDate or
g:formatBoolean depending on its type and the result is passed as the
value model to the
_display template.
Examples
<f:display bean="person" property="name"/><f:display bean="person" property="dateOfBirth">
<g:formatDate format="dd MMM yyyy" date="${value}"/>
</f:display>
Attributes
f:input accepts exactly the same attributes as the
f:field tag.