org.pajes.html
Class SubmitButton
java.lang.Object
org.pajes.html.Tag
org.pajes.html.Input
org.pajes.html.Submit
org.pajes.html.SubmitButton
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, HTML
public class SubmitButton
- extends Submit
This class creates a Submit button on the form. Extended functionality allows
an input field on the form to be populated when the user clicks the button.
- See Also:
- Serialized Form
|
Constructor Summary |
SubmitButton(Form form,
java.lang.String name,
java.lang.String value)
Generate a Submit button for the form. |
SubmitButton(Form form,
java.lang.String name,
java.lang.String value,
boolean disableOnClickValidation)
Generate a Submit button for the form. |
SubmitButton(Form form,
java.lang.String name,
java.lang.String value,
InputHidden hiddenField)
Generate a Submit button for the form. |
SubmitButton(Form form,
java.lang.String name,
java.lang.String value,
InputHidden hiddenField,
java.lang.String fieldValue)
Generate a Submit button for the form. |
| Methods inherited from class org.pajes.html.Submit |
getHiddenField, getHiddenFieldValue, getInactiveText, isActive, isOnChangeCheckingDisabled, isOnClickValidationDisabled, setActive, setChanged, setCheckForChangedFields, setCheckForChangedFieldsConfirmation, setHiddenField, setInactiveText, setInactiveText, setOnClickValidation, setSubmitConfirmation, write, writeSubmitJavaScript, writeTag |
| Methods inherited from class org.pajes.html.Input |
addClientValidation, addContent, clone, getClientValidation, getClientValidation, getDOMReference, getFieldNameForErrorMessage, getForm, getInstance, getLabel, getName, getOnBlurHandler, getOnChangeHandler, getOnFocusHandler, getOnSelectHandler, getReadOnlyStyleSheetClass, getTabIndex, getType, getValue, isChangeFlagEnabled, isDisabled, isReadOnly, isRequiringValidation, logNoFormWarning, removeClientValidation, removeClientValidation, removeClientValidation, removeMandatoryClientValidation, setChangedFlag, setContent, setDisabled, setFieldNameInErrorMessage, setFieldNameInErrorMessage, setForm, setId, setLabel, setName, setOnBlurHandler, setOnBlurValidation, setOnChangeHandler, setOnClickHandler, setOnFocusHandler, setOnSelectHandler, setReadOnly, setReadOnlyStyleSheetClass, setTabIndex, setTabIndex, setTabIndex, setValue |
| Methods inherited from class org.pajes.html.Tag |
addAttribute, addAttributes, addAttributes, clearAttribute, clearAttributes, destroy, getAttribute, getAttributes, getAttributeSet, getContainer, getContent, getDocument, getId, getOnClickHandler, getOnDBLClickHandler, getOnKeyDownHandler, getOnKeyPressHandler, getOnKeyUpHandler, getOnMouseDownHandler, getOnMouseOutHandler, getOnMouseOverHandler, getOnMouseUpHandler, getParent, getStyle, getStyleSheetClass, getTagName, getTitle, getWritePermission, hasAttribute, init, initAttributes, isChildOf, isChildOf, isWritable, isWritable, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributes, setAttributes, setContainer, setContent, setOnDBLClickHandler, setOnKeyDownHandler, setOnKeyPressHandler, setOnKeyUpHandler, setOnMouseDownHandler, setOnMouseOutHandler, setOnMouseOverHandler, setOnMouseUpHandler, setParent, setStyle, setStyleSheetClass, setTagName, setTitle, setWritable, setWriteAttributes, setWriteEndTag, setWritelnAfter, setWritelnAfterContent, setWritelnBefore, setWritelnBeforeContent, setWritePermission, toString, writeContent |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SubmitButton
public SubmitButton(Form form,
java.lang.String name,
java.lang.String value)
- Generate a Submit button for the form.
- Parameters:
form - the form on which this element will appear.name - the name of the button.value - the text to appear on the button.
SubmitButton
public SubmitButton(Form form,
java.lang.String name,
java.lang.String value,
boolean disableOnClickValidation)
- Generate a Submit button for the form.
- Parameters:
form - the form on which this element will appear.name - the name of the button.value - the text to appear on the button.disableOnClickValidation - if true, suppresses the onClick validation.
SubmitButton
public SubmitButton(Form form,
java.lang.String name,
java.lang.String value,
InputHidden hiddenField)
- Generate a Submit button for the form. When the button is pressed, the
specified hidden field will be updated with the the name of the button
pushed.
- Parameters:
form - the form on which this element will appear.name - the name of the button.value - the text to appear on the button.hiddenField - the hidden field input element whish will be updated when the
button is pressed.
SubmitButton
public SubmitButton(Form form,
java.lang.String name,
java.lang.String value,
InputHidden hiddenField,
java.lang.String fieldValue)
- Generate a Submit button for the form. When the button is pressed, the
specified hidden field will be updated with the the name of the button
pushed.
- Parameters:
form - the form on which this element will appear.name - the name of the button.value - the text to appear on the button.hiddenField - the hidden field input element whish will be updated when the
button is pressed.fieldValue - the value to set in the hidden field.
Copyright © 1998-2007 Viridian Pty Limited. All Rights Reserved.