Runtime tools : Presentation components : JSPs : Reference : Custom JSP tags : InputButtonTag
  
InputButtonTag
A InputButtonTag creates an input button element on the HTML page.
InputButtonTag attributes
type
Type of button. This attribute can have the following values: button, submit, reset, and image.
Default value: button
dataName
Name of the DataField in the Context hierarchy that is set when user clicks the button
Default value: null
event
Sets the value in the button's form field named "dse_nextEventName" with the attribute value and submits the form
Default value: null
onClick
Process to be used if a process other than dse_nextEventName is required
Default value: null
value
Label of the button or the path to the image. For a label, the value of the attribute is used as a key to access the text in the locale resource bundle.
Default value: null
style
Style for the text area
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
<H1>Using the Button Tag</H1>
<dse:form nextEventName="ok">
<table border="1">
<TR><TD><dse:button event="cancel"/></TD>
<TD><dse:button type="submit" value="OK"/></TD></TR>
<TR><TD><dse:button event="store" value="Store" dataName="pressedButton"/></TD>
<TD><dse:button value="Continue" dataName="pressedButton"
onClick="this.form.submit();"/></TD></TR>
<TR><TD><dse:button event="info" type="image" value="/images/935.gif"/></TD>
<TD><dse:button type="reset" value="Reset"/></TD></TR>
</table>
</dse:form>
Go up to
Custom JSP tags