|
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.form.FormElementBean | +--oracle.cabo.ui.beans.form.TextInputBean | +--oracle.cabo.ui.beans.form.LovFieldBean
TextField for launching Lists of Values. A button to launch a LOV dialog is provided, but the client is responsible for actually launching the dialog and handling the returned result, either through a JavaScript pseudo URL on the destination attribute or through a JavaScript onClick handler. Any onClick handler or short description attached to the LovField will only apply to the LOV Button on the LovField. The LovField control creates a text field with an associated button for launching a List of Values dialog. A button to launch a LOV dialog is provided, but the client is responsible for actually launching the dialog and handling the returned result, either through a JavaScript pseudo URL on the destination attribute or through a JavaScript onClick handler. Any onClick handler or short description attached to the LovField will only apply to the LOV Button on the LovField. The name property is required and must be set for the validation to work correctly.
On a pda there is no button,only the text field is created,
<script> <contents> function myCallBack(lovwin, event) { var value = lovwin.myData; if (value!=(void 0)) document.form1.lov1.value = lovwin.myData; } </contents> </script> <lovField name="lov1" shortDesc="Click to select a predefined color" onClick="openWindow(top, 'lovFieldTest.uix?bajaPage=case=lov', 'lovWindow', {width:350, height:75}, true, 'dialog', myCallBack); return false;" />
Constructor Summary | |
|
LovFieldBean()
Construct an instance of the LovFieldBean. |
protected |
LovFieldBean(boolean ignored,
java.lang.String localName)
Construct an instance of the LovFieldBean. |
|
LovFieldBean(java.lang.String name)
Construct an instance of the LovFieldBean. |
Method Summary | |
java.lang.String |
getDestination()
Gets The destination URL invoked when the LOV Button next to the field is clicked. |
static java.lang.String |
getDestination(MutableUINode bean)
Gets The destination URL invoked when the LOV Button next to the field is clicked. |
java.lang.String |
getSearchDesc()
Gets the search description on Lov Button. |
static java.lang.String |
getSearchDesc(MutableUINode bean)
Gets the search description on Lov Button. |
static void |
setDestination(MutableUINode bean,
java.lang.String destination)
Sets The destination URL invoked when the LOV Button next to the field is clicked. |
void |
setDestination(java.lang.String destination)
Sets The destination URL invoked when the LOV Button next to the field is clicked. |
static void |
setSearchDesc(MutableUINode bean,
java.lang.String searchDesc)
Sets the search description on Lov Button. |
void |
setSearchDesc(java.lang.String searchDesc)
Sets the search description on Lov Button. |
static void |
setTranslatableSearchDesc(MutableUINode bean,
java.lang.String bundleName,
java.lang.String key)
Binds to a ResourceBundle the the search description on Lov Button. |
void |
setTranslatableSearchDesc(java.lang.String bundleName,
java.lang.String key)
Binds to a ResourceBundle the the search description on Lov Button. |
Methods inherited from class oracle.cabo.ui.beans.form.FormElementBean |
getName, getName, getOnBlur, getOnBlur, getOnFocus, getOnFocus, isDisabled, isDisabled, isReadOnly, isReadOnly, setDisabled, setDisabled, setName, setName, setNameBinding, setNameBinding, setNameBinding, setNameBinding, setNameBinding, setNameBinding, setOnBlur, setOnBlur, setOnFocus, setOnFocus, setReadOnly, setReadOnly |
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 LovFieldBean()
public LovFieldBean(java.lang.String name)
name
- the name used to identify the element in client-to-client or
client-to-server events.protected LovFieldBean(boolean ignored, java.lang.String localName)
Method Detail |
public final java.lang.String getDestination()
public final void setDestination(java.lang.String destination)
public final java.lang.String getSearchDesc()
public final void setSearchDesc(java.lang.String searchDesc)
public final void setTranslatableSearchDesc(java.lang.String bundleName, java.lang.String key)
bundleName
- the name of the ResourceBundlekey
- the key of the string to retrieve from the ResourceBundlepublic static java.lang.String getDestination(MutableUINode bean)
public static void setDestination(MutableUINode bean, java.lang.String destination)
public static java.lang.String getSearchDesc(MutableUINode bean)
public static void setSearchDesc(MutableUINode bean, java.lang.String searchDesc)
public static void setTranslatableSearchDesc(MutableUINode bean, java.lang.String bundleName, java.lang.String key)
bundleName
- the name of the ResourceBundlekey
- the key of the string to retrieve from the ResourceBundle
|
UIX 2.2.16 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |