|
UIX 2.2.16 | ||||||||
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>
A button which triggers an event when the form is submitted:
<form name="myform"> <contents> <messageTextInput prompt="Search" name="search"> <end> <submitButton text="Go" event="doSearch" /> </end> </messageTextInput> </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 |
getEvent()
Gets the name of the event to trigger when this button is pressed. |
static java.lang.String |
getEvent(MutableUINode bean)
Gets the name of the event to trigger when this button is pressed. |
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 |
getPartialRenderMode()
Gets an attribute that controls the button's partial page rendering behavior. |
static java.lang.String |
getPartialRenderMode(MutableUINode bean)
Gets an attribute that controls the button's partial page rendering behavior. |
java.lang.String[] |
getPartialTargets()
Gets The IDs of the partial target nodes to re-render when the form is submitted. |
static java.lang.String[] |
getPartialTargets(MutableUINode bean)
Gets The IDs of the partial target nodes to re-render when the form is submitted. |
java.lang.String |
getValue()
Deprecated. Since 2.2.0. Use the "event" attribute instead. |
static java.lang.String |
getValue(MutableUINode bean)
Deprecated. Since 2.2.0. Use the "event" attribute instead. |
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 |
setEvent(MutableUINode bean,
java.lang.String event)
Sets the name of the event to trigger when this button is pressed. |
void |
setEvent(java.lang.String event)
Sets the name of the event to trigger when this button is pressed. |
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. |
static void |
setPartialRenderMode(MutableUINode bean,
java.lang.String partialRenderMode)
Sets an attribute that controls the button's partial page rendering behavior. |
void |
setPartialRenderMode(java.lang.String partialRenderMode)
Sets an attribute that controls the button's partial page rendering behavior. |
static void |
setPartialTargets(MutableUINode bean,
java.lang.String[] partialTargets)
Sets The IDs of the partial target nodes to re-render when the form is submitted. |
void |
setPartialTargets(java.lang.String[] partialTargets)
Sets The IDs of the partial target nodes to re-render when the form is 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)
Deprecated. Since 2.2.0. Use the "event" attribute instead. |
void |
setValue(java.lang.String value)
Deprecated. Since 2.2.0. Use the "event" attribute instead. |
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, phone, voice.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, phone, voice.public final java.lang.String getValue()
public final void setValue(java.lang.String value)
public final java.lang.String getEvent()
public final void setEvent(java.lang.String event)
public final boolean isUnvalidated()
public final void setUnvalidated(boolean unvalidated)
public final java.lang.String[] getPartialTargets()
public final void setPartialTargets(java.lang.String[] partialTargets)
public final java.lang.String getPartialRenderMode()
In order to enable partial page rendering, the button component's id attribute must be set, the button component must be contained in a UIX body element, and the Configuration.ACCESSIBILITY_MODE must be set to AccessibilityMode.INACCESSIBLE_MODE. When these requirements are met, and partialRenderMode is set to "self" or "multiple", the button will use the paritial page rendering architecture to send events to the application. If any of these requirements are not met, or if the browser is not capable of supporting partial page rendering, full page rendering will be performed.
public final void setPartialRenderMode(java.lang.String partialRenderMode)
In order to enable partial page rendering, the button component's id attribute must be set, the button component must be contained in a UIX body element, and the Configuration.ACCESSIBILITY_MODE must be set to AccessibilityMode.INACCESSIBLE_MODE. When these requirements are met, and partialRenderMode is set to "self" or "multiple", the button will use the paritial page rendering architecture to send events to the application. If any of these requirements are not met, or if the browser is not capable of supporting partial page rendering, full page rendering will be performed.
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, phone, voice.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, phone, voice.public static java.lang.String getValue(MutableUINode bean)
public static void setValue(MutableUINode bean, java.lang.String value)
public static java.lang.String getEvent(MutableUINode bean)
public static void setEvent(MutableUINode bean, java.lang.String event)
public static boolean isUnvalidated(MutableUINode bean)
public static void setUnvalidated(MutableUINode bean, boolean unvalidated)
public static java.lang.String[] getPartialTargets(MutableUINode bean)
public static void setPartialTargets(MutableUINode bean, java.lang.String[] partialTargets)
public static java.lang.String getPartialRenderMode(MutableUINode bean)
In order to enable partial page rendering, the button component's id attribute must be set, the button component must be contained in a UIX body element, and the Configuration.ACCESSIBILITY_MODE must be set to AccessibilityMode.INACCESSIBLE_MODE. When these requirements are met, and partialRenderMode is set to "self" or "multiple", the button will use the paritial page rendering architecture to send events to the application. If any of these requirements are not met, or if the browser is not capable of supporting partial page rendering, full page rendering will be performed.
public static void setPartialRenderMode(MutableUINode bean, java.lang.String partialRenderMode)
In order to enable partial page rendering, the button component's id attribute must be set, the button component must be contained in a UIX body element, and the Configuration.ACCESSIBILITY_MODE must be set to AccessibilityMode.INACCESSIBLE_MODE. When these requirements are met, and partialRenderMode is set to "self" or "multiple", the button will use the paritial page rendering architecture to send events to the application. If any of these requirements are not met, or if the browser is not capable of supporting partial page rendering, full page rendering will be performed.
|
UIX 2.2.16 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |