...
error-list-name | optional | The name of a list that will contain the message | Default is "error_list" |
Child Elements
<[fail-message>message> | optional |
<[fail-property>property> | optional |
Info | ||
---|---|---|
| ||
Currently, child elements are optional. Require at least one child element. |
...
<request-to-field>
<session-to-field>
<set>
Assigns a value to a field.
Code Block | ||||
---|---|---|---|---|
| ||||
<set field="foo" value="bar" />
<set field="baz" from-field="foo" />
|
Attributes
field | 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 | optional | A default constant value - used if from-field evaluates to null |
|
type | optional | The Java data type of field | Defaults to "String" |
set-if-null | optional | Controls if field can be set to | Defaults to "false" |
set-if-empty | optional | Controls if field can be set to an empty value. The meaning of "empty" depends on the Java data type. | Defaults to "true" |
Info | ||
---|---|---|
| ||
|
<set-calendar>
<set-service-fields>
...