...
The return value will be put in the named field if an value is returned and if a field and optionally a map name are specified.
Attribute Name | Required? | Description |
---|---|---|
class-name | Y | The name of the class to call the static method on. |
method-name | Y | The name of the static method to call on the given class. |
ret-field-name | N | The name of the field to put the result in. If not specified any return value will be ignored. |
ret-map-name | N | The name of the map the field of the return value is in. If not specified but the field name is then the environment will be used to find the field in. |
Sub-Element Name | How Many | Description |
---|---|---|
string | 0 to many | Used to specify an inline String argument to the method call. |
field | 0 to many | Used to specify a field to be passed as an argument to the method call. The field can be in a map in the environment or if no map-name is specified then the field will come directly from the environment. |
Control and Error Handling Operations
check-errors
The message lists from invoking are not checked until the check-errors tag is used. The named list is checked and if it contains any messages they are put in the servlet request object and the specified error code is returned to the control servlet.
Attribute Name | Required? | Description |
---|---|---|
error-code | N | Defaults to "error". |
error-list-name | N | The name of the list to in the method environment to check for error messages. Defaults to "error_list". |
Sub-Element Name | How Many | Description |
---|---|---|
error-prefix | 0 or 1 | |
error-suffix | 0 or 1 | |
message-prefix | 0 or 1 | |
message-suffix | 0 or 1 |
add-error
Adds an error message with to the given error list from either an inline message or a message from a properties file