The FormTag creates a Form element on the HTML page with all the hidden fields required to access the toolkit server.
Attribute | Description | Default value |
---|---|---|
name | Name of the Form. | null |
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 |
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 FormTag:
<%@ taglib uri="/dse.tld" prefix="dse" %> <dse:page title="DSE JSP Tags sample" defaultBGColor="darkblue"> <H1>Using the Form Tag</H1> <dse:form> </dse:form> <dse:form name="f2" nextEventName="ok" errorPage="formPage.jsp" > </dse:form> <dse:form name="f3" opName="depositOp"> </dse:form> <dse:form name="f4" opName="transferOp" nextEventName="ok"> </dse:form> </body>