|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Renders a <select ...>...[<option>...</option>]*...</select>
popup menu in the html.
The content area of this tag renders the displayble portion of the option menu item.
Bindings | |||
---|---|---|---|
list
*
|
Ordered list of items displayed in the popup menu. |
AWOrderedList (get) |
|
item
|
The current menu item being rendered in the the popup. |
Object (set) |
|
index
|
The current index for the menu item being rendered in the popup. |
int (set) |
|
selection
|
The item that was selected by the user in the popup menu. The is set during the applyValues phase. |
Object (set) |
|
noSelectionString
|
The string to be displayed in the popup which allows the user to make "no selection" from the available list. If the user chooses this option, then the selection binding will be pushed as $null. |
String (get) |
|
onChange
|
Specifies the onChange attribute used in the |
String (get) |
|
action
|
The action invoked when a popup menu item is changed. This usurps the onChange attribute and will cause the form to be submited immediately upon user changing the popup. Note that action="$null" is different from no action binding at all. If you have action="$null", it will submit the form and cycle the page upon change to the popup, while no action at all makes the popup passive (ie. user must click a button to submt the form). |
AWResponseGenerating (get) |
|
isRefresh
|
Convenience binding that is the same as action="$null". See action binding for more information on action="$null". |
boolean (get) |
|
disabled
|
Disables the popup menu if true. |
boolean (get) |
|
delayTakeValues
|
If the 'action' binding is bound, this determines if the push of the new value is defered until after the reset of the applyValues phase is complete. (This is generally what you want). |
boolean (get) |
|
name
|
Not supported? |
String (get) |
|
size
|
Not supported? |
int (get) |
|
editable
|
When value is false, this popup menu would be readonly like in print mode. Otherwise, it's editable. |
Boolean (get) |
java.lang.Objectariba.ui.aribaweb.util.AWBaseObject
ariba.ui.aribaweb.core.AWComponent
ariba.ui.aribaweb.html.AWPopup
public class AWPopup
Nested Class Summary |
---|
Nested classes/interfaces inherited from class ariba.ui.aribaweb.core.AWComponent |
---|
AWComponent.RenderingFilter, AWComponent.RenderingListener |
Nested classes/interfaces inherited from interface ariba.ui.aribaweb.core.AWResponseGenerating |
---|
AWResponseGenerating.ResponseSubstitution |
Constructor Summary | |
---|---|
AWPopup()
|
Method Summary | |
---|---|
AWResponseGenerating |
actionItemClicked()
|
static AWAction[] |
initActionList(AWComponentReference componentReference)
|
boolean |
isActionVisible()
|
java.lang.String |
isCurrentItemSelected()
|
java.lang.String |
isDisabled()
|
boolean |
isEditable()
|
boolean |
isHiddenFieldSender()
|
AWEncodedString |
onChangeString()
|
AWEncodedString |
onKeyDownString()
|
AWEncodedString |
onMouseWheelString()
|
java.lang.Object |
popupId()
|
AWResponseGenerating |
regularItemClicked()
|
void |
setCurrentIndex(java.lang.Integer integer)
|
void |
setCurrentItem(java.lang.Object object)
|
void |
setFormValue(java.lang.String formValue)
|
java.lang.String[] |
supportedBindingNames()
|
Methods inherited from class ariba.ui.aribaweb.util.AWBaseObject |
---|
debugString, getFieldValue, isKindOfClass, localizedJavaString, logString, logWarning, setFieldValue |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ariba.ui.aribaweb.util.AWObject |
---|
getFieldValue, isKindOfClass, setFieldValue |
Field Detail |
---|
public static final java.lang.String ActionIndicator
public static final java.lang.String NoSelectionString
public AWEncodedString _elementId
public AWEncodedString _currentOptionId
public AWEncodedString _noSelectionString
public java.lang.Integer _currentIndex
public AWAction _currentAction
public java.lang.Object _orderedList
public AWAction[] _actionList
public java.lang.Object _selectedItem
Constructor Detail |
---|
public AWPopup()
Method Detail |
---|
public java.lang.String[] supportedBindingNames()
supportedBindingNames
in class AWComponent
public static AWAction[] initActionList(AWComponentReference componentReference)
public void setCurrentItem(java.lang.Object object)
public void setCurrentIndex(java.lang.Integer integer)
public AWEncodedString onChangeString()
public AWEncodedString onMouseWheelString()
public AWEncodedString onKeyDownString()
public boolean isHiddenFieldSender()
public java.lang.String isCurrentItemSelected()
public void setFormValue(java.lang.String formValue)
public AWResponseGenerating regularItemClicked()
public AWResponseGenerating actionItemClicked()
public boolean isActionVisible()
public java.lang.String isDisabled()
public java.lang.Object popupId()
public boolean isEditable()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |