Runtime components : Presentation components : JSPs : Reference : Custom JSP tags : FormTag
  
FormTag
The FormTag creates a Form element on the HTML page with all the hidden fields required to access the toolkit server.
FormTag attributes
name
Name of the Form.
Default value: 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.
Default value: null
opName
Name of the operation. This attribute is only required when a new processor is started.
Default value: null
parentCtxName
Name of the context. This attribute is only required when a new processor is started.
Default value: null
errorPage
Overrides the default error for a specific call
Default value: null
action
Class that is to execute the event
Default value: WebApplicationURI+ "/Request"
style
Style for the Form
Default value: null
custom
Adds attributes to the Input element. The following is the format of this attribute:
custom="att1Name=\"att1Value\
"att2Name=\"att2Value\"..."
Default value: null
Example
<%@ 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" action="/hbank/req">
</dse:form>
<dse:form name="f3" opName="depositOp">
</dse:form>
<dse:form name="f4" opName="transferOp" nextEventName="ok">
</dse:form>
</body>
Go up to
Custom JSP tags