...
Event Specific Operations
field-to-request
The field-to-request tag copies a field from a map to the specified servlet request attribute.
The tag is only used when the simple-method is called as an event, it is ignored otherwise.
Attribute Name | Required? | Description |
---|---|---|
map-name | N | The name of the map in the method environment. If not specified the field-name will be used to get the field from the method environment. |
field-name | Y | The name (key) of the map field to use. |
request-name | N | The name of the request attribute to use. Defaults to the field-name. |
field-to-session
The field-to-session tag copies a field from a map to the specified servlet session attribute.
The tag is only used when the simple-method is called as an event, it is ignored otherwise.
Attribute Name | Required? | Description |
---|---|---|
map-name | N | The name of the map in the method environment. If not specified the field-name will be used to get the field from the method environment. |
field-name | Y | The name (key) of the map field to use. |
session-name | N | The name of the session attribute to use. Defaults to the field-name. |
request-to-field
The request-to-field tag copies an attribute from the servlet request to a field of a map in the method environment.
The tag is only used when the simple-method is called as an event, it is ignored otherwise (except the default value, if specified).
Attribute Name | Required? | Description |
---|---|---|
map-name | N | The name of the map in the method environment. If not specified the field-name will be used to set the field in the method environment. |
field-name | Y | The name (key) of the map field to use. |
default | N | A default value to use if the request attribute is null or is a String and is empty. This will also be used when NOT running as an event. |
request-name | N | The name of the request attribute to use. Defaults to the field-name. |
request-parameters-to-list
The request-parameters-to-list tag appends a request parameter values from the servlet request to the specified list.
The tag is only used when the simple-method is called as an event, it is ignored otherwise.
Attribute Name | Required? | Description |
---|---|---|
request-name | Y | The name of the request parameter values to use. |
list-name | N | The name of the list in the method environment that the request parameter values will be appended to. (default: request-name) |
session-to-field
The session-to-field tag copies an attribute from the servlet session to a field of a map in the method environment.
The tag is only used when the simple-method is called as an event, it is ignored otherwise (except the default value, if specified).
...
Attribute Name
...
Required?
...
Description
...
map-name
...
N
...
The name of the map in the method environment. If not specified the field-name will be used to set the field in the method environment.
...
field-name
...
Y
...
The name (key) of the map field to use.
...
default
...
N
...
A default value to use if the session attribute is null or is a String and is empty. This will also be used when NOT running as an event.
...
session-name
...
N
...
session
request-to-field
request-parameters-to-list
session-to-field
webapp-property-to-field
The webapp-property-to-field tag copies a property value from a properties file in a ServletContext resource to a field.
...