DhElement | +--DhButtonBase | +--DhSubmitButtonpublic class DhSubmitButton
Represents a submit button for an HTML form. The submit button invokes the URL specified in the form's ACTION attribute (For more information, see DhSection.setHTTPSubmitUrl().) Adding a DhSubmitButton to a DhSection object causes the DhSection to represent an HTML form element
Also see wfc.html.DhSection
Fields
Name | Description |
---|---|
METHOD_GET | Topic under construction. |
METHOD_POST | Topic under construction. |
Constructors
Name | Description |
---|---|
DhSubmitButton() | Creates a DhSubmitButton object. |
DhSubmitButton( String strCaption ) | Creates a DhSubmitButton object. |
Methods
Name | Description |
---|---|
getSubmitMethod() | Topic under construction. |
getSubmitUrl( ) | Retrieves the current URL that will be called if the form's Submit button is clicked. |
getText() | Retrieves the button's current text caption. |
setSubmitMethod( int newMethod ) | Topic under construction. |
setSubmitUrl( String strActionUrl ) | Sets the URL to be called when the form's Submit button is clicked. |
setText( String strCaption ) | Sets the button caption. |
Creates a DhSubmitButton object. This default constructor creates a DhSubmitButton with Submit as its caption.
Creates a DhSubmitButton object. This constructor creates a DhSubmitButton with the specified caption.
Topic under construction.
Returns the URL to be called.
Retrieves the current URL that will be called if the form's Submit button is clicked.
Returns the button caption.
Retrieves the button's current text caption.
Topic under construction.
Sets the URL to be called when the form's Submit button is clicked. Parameters from form fields are concatenated onto this URL.
Sets the button caption.