Versions Compared

Key

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

...

Attribute NameRequired?Description
httpsNDoes this request require being called secure (default false.)
authNDoes this request require the caller to be authenticated (default false.)
external-viewNDoes this request allow passing a view through the URL. (default true).
direct-requestNDoes this request allow being called directly through a URL, if false can only be used in a chain (default true).

event tag:

Attribute NameRequired?Description
typeYMapped to the event handler definitions to determine which EventHander will be used to run the event.
pathNThe path to the class or XML file containing this event, leave empty for services.
invokeYThe name of the method or service to be run.

response tag:

Attribute NameRequired?Description
nameYThe name of the response, will also match the string returned by the event.
typeYThe type of response will follow: none, request, view, url
valueNThe name of the method or service to be run.

The ViewHandler is called on view type responses. Using the above example, the view handler default will be used, since no type is defined. This handler will dispatch to a JSP/Servlet. All ViewHandlers will receive the name and page values from the view-map definition.

view-map tag:

Attribute NameRequired?Description
nameYThe name of this view mapping, matches the value of the response element.
pageNThe page mapped to this view.
typeNThe type of view this is, maps to a ViewHandler. An empty type will assume JSP type view.
infoNExtended information passed to the view handler.

Event Handler