Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 NameRequired?Description
class-nameYThe name of the class to call the static method on.
method-nameYThe name of the static method to call on the given class.
ret-field-nameNThe name of the field to put the result in. If not specified any return value will be ignored.
ret-map-nameNThe 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 NameHow ManyDescription
string0 to manyUsed to specify an inline String argument to the method call.
field0 to manyUsed 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 NameRequired?Description
error-codeNDefaults to "error".
error-list-nameNThe name of the list to in the method environment to check for error messages. Defaults to "error_list".
Sub-Element NameHow ManyDescription
error-prefix0 or 1 
error-suffix0 or 1 
message-prefix0 or 1 
message-suffix0 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