|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.ui.DeprecatedUINode | +--oracle.cabo.ui.BaseUINode | +--oracle.cabo.ui.BaseMutableUINode | +--oracle.cabo.ui.beans.BaseWebBean | +--oracle.cabo.ui.beans.MarlinBean | +--oracle.cabo.ui.beans.nav.LinkBean | +--oracle.cabo.ui.beans.nav.ButtonBean | +--oracle.cabo.ui.beans.form.SubmitButtonBean
The submit button control creates a push button which allows submission of forms. Submit buttons will not render any child nodes. The "destination" attribute of a submit button is ignored - it instead uses the destination of the form.
A simple example of a button saying "Enter" that submits a textInput field.
<form name="myform"> <contents> <textInput text="Default input text" name="textfield"/> <submitButton formName="myform" text="Enter"/> </contents> </form>
An button which submits the form without doing any validation.
<form name="myform"> <contents> <textInput text="Default input text" name="textfield"/> <submitButton formName="myform" text="Unvalidated Submit" unvalidated="true" /> </contents> </form>
It does not support any children.
Constructor Summary | |
|
SubmitButtonBean()
Construct an instance of the SubmitButtonBean. |
protected |
SubmitButtonBean(boolean ignored,
java.lang.String localName)
Construct an instance of the SubmitButtonBean. |
|
SubmitButtonBean(java.lang.String text)
Construct an instance of the SubmitButtonBean. |
|
SubmitButtonBean(java.lang.String text,
java.lang.String formName)
Construct an instance of the SubmitButtonBean. |
Method Summary | |
java.lang.String |
getFormName()
Gets the name of the form that should be submitted. |
static java.lang.String |
getFormName(MutableUINode bean)
Gets the name of the form that should be submitted. |
java.lang.String |
getValue()
Gets the string value to be sent when this button is pressed. |
static java.lang.String |
getValue(MutableUINode bean)
Gets the string value to be sent when this button is pressed. |
boolean |
isUnvalidated()
Gets whether onSubmit validation is fired before submitting the form. |
static boolean |
isUnvalidated(MutableUINode bean)
Gets whether onSubmit validation is fired before submitting the form. |
static void |
setFormName(MutableUINode bean,
java.lang.String formName)
Sets the name of the form that should be submitted. |
void |
setFormName(java.lang.String formName)
Sets the name of the form that should be submitted. |
void |
setUnvalidated(boolean unvalidated)
Sets whether onSubmit validation is fired before submitting the form. |
static void |
setUnvalidated(MutableUINode bean,
boolean unvalidated)
Sets whether onSubmit validation is fired before submitting the form. |
static void |
setValue(MutableUINode bean,
java.lang.String value)
Sets the string value to be sent when this button is pressed. |
void |
setValue(java.lang.String value)
Sets the string value to be sent when this button is pressed. |
Methods inherited from class oracle.cabo.ui.beans.nav.ButtonBean |
sharedInstance |
Methods inherited from class oracle.cabo.ui.beans.MarlinBean |
isEqualMarlinName |
Methods inherited from class oracle.cabo.ui.BaseUINode |
getAttributeNames, getAttributeValue, getAttributeValueImpl, getChildArray, getChildNames, getIndexedChild, getIndexedChild, getIndexedChildCount, getLocalName, getNamedChild, getNamespaceURI, getNodeID, getNodeRole, getPreorderDescendentAttributeValue, getRawAttributeValue, getRenderedUINode, getRenderer, getRenderer, render, render, toString |
Methods inherited from class oracle.cabo.ui.DeprecatedUINode |
getAttributeValue, getChildNames, getNamedChild |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.cabo.ui.UINode |
getAttributeNames, getAttributeValue, getAttributeValue, getChildNames, getChildNames, getIndexedChild, getIndexedChild, getIndexedChildCount, getLocalName, getNamedChild, getNamedChild, getNamespaceURI, getNodeID, getNodeRole, getRawAttributeValue, render, render |
Constructor Detail |
public SubmitButtonBean()
public SubmitButtonBean(java.lang.String text)
text
- the textual label of the link.public SubmitButtonBean(java.lang.String text, java.lang.String formName)
text
- the textual label of the link.formName
- the name of the form that should
be submitted.protected SubmitButtonBean(boolean ignored, java.lang.String localName)
Method Detail |
public final java.lang.String getFormName()
This is not supported on mobile devices as the submitButton is limited to submitting the form it is within.
This attribute is not supported on the following agent types: pda.public final void setFormName(java.lang.String formName)
This is not supported on mobile devices as the submitButton is limited to submitting the form it is within.
This attribute is not supported on the following agent types: pda.public final java.lang.String getValue()
public final void setValue(java.lang.String value)
public final boolean isUnvalidated()
public final void setUnvalidated(boolean unvalidated)
public static java.lang.String getFormName(MutableUINode bean)
This is not supported on mobile devices as the submitButton is limited to submitting the form it is within.
This attribute is not supported on the following agent types: pda.public static void setFormName(MutableUINode bean, java.lang.String formName)
This is not supported on mobile devices as the submitButton is limited to submitting the form it is within.
This attribute is not supported on the following agent types: pda.public static java.lang.String getValue(MutableUINode bean)
public static void setValue(MutableUINode bean, java.lang.String value)
public static boolean isUnvalidated(MutableUINode bean)
public static void setUnvalidated(MutableUINode bean, boolean unvalidated)
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |