changes.mady.by.user Adrian adrianc
Saved on Mar 13, 2012
...
<field-to-list>
<field-to-list list="barList" field="foo" />
Attributes
list
optional
Name of the list. If the list does not exist, one is created.
field
The field to add to the list
<property-to-field>
<property-to-field field="foo" resource="fooResource.properties" property="fooKey" />
The name of the field
resource
The resource that contains the property
property
The property key
default
A default value to be used when the property is not found
no-locale
If "true" no localization will be performed on the property's value
Default is "false"
arg-list-name
The name of a field that contains a list of arguments to be used in formatted property values
<request-parameters-to-list>
<request-parameters-to-list list-name="fooList" request-name="fooParameter" />
list-name
request-name
The name of the request parameter. All parameter values will be added to the list
<request-to-field>
<request-to-field field="foo" request-name="fooParameter" />
The name of the field for the new object
The name of the request parameter.
map-name
The name of the map containing field
<session-to-field>
<set>
<set field="foo" value="bar" /> <set field="baz" from-field="foo" />
required
The name of the field to set (the l-value)
from-field
required if value attribute is empty
The name of a field to copy from (the r-value)
value
required if from-field attribute is empty
A constant value
default-value
A default constant value - used if from-field evaluates to null
type
The Java data type of field
Defaults to "String"
set-if-null
Controls if field can be set to null.
null
Defaults to "false"
set-if-empty
Controls if field can be set to an empty value. The meaning of "empty" depends on the Java data type.
Defaults to "true"