A URITag creates an URI on the HTML page with all the parameters required to access the toolkit server.
Attribute | Description | Default value |
---|---|---|
nextEventName | Name of the event to be executed when the form is submitted. This attribute can be omitted when starting a new processor as the event sent to the server is a start event. | null |
opName | Name of the operation. This attribute is only required when a new processor is started. | null |
parentCtxName | Name of the context. This attribute is only required when a new processor is started. | null |
parentCtxName | Name of the context. This attribute is only required when a new processor is started. | null |
errorPage | Overrides the default error for a specific call | null |
action | Class that is to execute the event | WebApplicationURI+"/Request" |
extraParams | Additional parameters to be added to the URI. Use ampersands (&) to separate the parameters if there is more than one parameter. | null |
The following is an example of using URITag:
<%@ taglib uri="/dse.tld" prefix="dse" %> <body> <H1>Using the URI Tag</H1> "<dse:uri nextEventName="ok"/>"<br> "<dse:uri nextEventName="ok" errorPage="formPage.jsp" action="/hbank/req" extraParams="lang=en_US"/>"<br> "<dse:uri opName="depositOp"/>"<br> "<dse:uri opName="depositOp" nextEventName="ok" extraParams="lang=es_ES"/>" </body>