changes.mady.by.user Adrian adrianc
Saved on Mar 13, 2012
Saved on Mar 14, 2012
...
<request-to-field>
<request-to-field field="foo" request-name="fooParameterfooAttribute" />
Attributes
field
optional
The name of the field for the new object
request-name
The name of the request parameter.attribute
default
A default constant value - used if the request attribute does not exist
map-name
The name of the map containing field
<session-to-field>
<session-to-field field="foo" session-name="fooAttribute" />
session-name
The name of the session attribute
A default constant value - used if the session attribute does not exist
<set>
<set field="foo" value="bar" /> <set field="baz" from-field="foo" />
requiredoptional
The name of the field to set (the l-value)
from-field
required if value attribute is emptyoptional
The name of a field to copy from (the r-value)
value
required if from-field attribute is emptyoptional
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"