THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Attribute Name | Required? | Description |
---|---|---|
https | N | Does this request require being called secure (default false.) |
auth | N | Does this request require the caller to be authenticated (default false.) |
external-view | N | Does this request allow passing a view through the URL. (default true). |
direct-request | N | Does this request allow being called directly through a URL, if false can only be used in a chain (default true). |
event
tag:
Attribute Name | Required? | Description |
---|---|---|
type | Y | Mapped to the event handler definitions to determine which EventHander will be used to run the event. |
path | N | The path to the class or XML file containing this event, leave empty for services. |
invoke | Y | The name of the method or service to be run. |
response
tag:
Attribute Name | Required? | Description |
---|---|---|
name | Y | The name of the response, will also match the string returned by the event. |
type | Y | The type of response will follow: none, request, view, url |
value | N | The 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 Name | Required? | Description |
---|---|---|
name | Y | The name of this view mapping, matches the value of the response element. |
page | N | The page mapped to this view. |
type | N | The type of view this is, maps to a ViewHandler. An empty type will assume JSP type view. |
info | N | Extended information passed to the view handler. |
Event Handler