(Quick Reference)
f:with
Description
Places a bean in scope so that the bean attribute can be omitted on contained tags.
Example
<f:with bean="person">
<f:field property="name"/>
<f:field property="address.city"/>
</f:with>
Attributes
Name | Required? | Description |
---|
bean | yes | The bean whose property is being rendered. This can be the object itself or the name of a page-scope variable. |
prefix | String | A string (including the trailing period) that should be appended before the input name such as name="${prefix}propertyName" . The label is also modified. |