An AnchorTag creates an Anchor element 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 |
errorPage | Overrides the default error for a specific call | null |
extraParams | Additional parameters to be added to the URI. Use ampersands (&) to separate the parameters if there is more than one parameter. | null |
style | Style for the Form. | null |
custom | Adds attributes to the input element. The following is the format of this attribute: custom="att1Name=\"att1Value\ "att2Name=\"att2Value\"..." | null |
The following is an example of using AnchorTag:
<%@ taglib uri="/dse.tld" prefix="dse" %> <body> <H1>Using the Anchor Tag</H1> <dse:a nextEventName="ok">An1</dse:a><br> <dse:a nextEventName="ok" errorPage="formPage.jsp" extraParams="lang=en_US">An2</dse:a><br> <dse:a opName="depositOp">An3</dse:a><br> <dse:a opName="depositOp" nextEventName="ok" extraParams="lang=es_ES">An4</dse:a> <body>