<a:Popup>

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 <select ...>...</select> tag when no action is specified. It is strongly recommended to not use this as it may conflict with internal implementation. If you use the "action" binding, the popup will submit the form when the user changes the popup.

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)

ariba.ui.aribaweb.html
Class AWPopup

java.lang.Object
  extended by ariba.ui.aribaweb.util.AWBaseObject
      extended by ariba.ui.aribaweb.core.AWComponent
          extended by ariba.ui.aribaweb.html.AWPopup
All Implemented Interfaces:
AWCycleable, AWCycleableReference, AWResponseGenerating, AWResponseGenerating.ResponseSubstitution, AWObject
Direct Known Subclasses:
AWVPopup

public class AWPopup
extends AWComponent


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.core.AWComponent
_topLevelApplyValues, _topLevelInvokeAction, _topLevelRenderResponse, allowEmbeddedKeyPaths, allowsWhitespaceCompression, application, applyValues, awcyclePageAndLog, bindingForName, bindingForName, bindings, booleanValueForBinding, booleanValueForBinding, booleanValueForBinding, booleanValueForBinding, browserMaxWidth, browserMinWidth, characterEncoding, clearValidationError, clientTimeZone, componentConfiguration, componentDefinition, componentPath, componentReference, createPageWithName, defaultTemplateParser, determineInstance, determineInstance, dict, dict, dict, doubleValueForBinding, doubleValueForBinding, doubleValueForBinding, encodedStringValueForBinding, encodedStringValueForBinding, ensureAwake, ensureFieldValuesClear, env, errorManager, escapeAttribute, escapeString, escapeUnsafeString, extendedFields, formValueManager, generateResponse, generateResponse, generateResponse, generateStringContents, getAWParameter, getDrivingBusinessObject, getFoldInSituOnWindowSizeParam, getPageRenderVersion, getThis, hasBinding, hasBinding, hasContentForTagName, hasContentNamed, hasMultipleTemplates, hasSubTemplateNamed, httpSession, init, init, initTemplateResourceManager, intValueForBinding, intValueForBinding, intValueForBinding, invokeAction, isBidirectional, isBrowserMicrosoft, isClientPanel, isMacintosh, isRenderAW5, isStateless, isStrictTagNaming, isUserCommunityEnabled, isValidationEnabled, languageDirection, languageLeft, languageRight, loadTemplate, localizedJavaString, markBacktrackState, name, namePath, notifyChange, otherBindings, otherBindingsValues, page, pageComponent, pageWithClass, pageWithClass, pageWithName, pageWithName, parent, postTakeValueActions, preferredLocale, recordBacktrackState, recordBacktrackState, recordValidationError, recordValidationError, recordValidationError, recordValidationErrors, recordValidationWarning, redirectToPage, registerRenderingListener, registerXmlNodeWithName, removeBacktrackState, renderResponse, replacementResponse, request, requestContext, requiresPreGlidCompatibility, resourceClassName, resourceManager, response, restoreFromBacktrackState, session, session, setCharacterEncoding, setClientPanel, setClientTimeZone, setComponentConfiguration, setDefaultTemplateParser, setEnv, setPerfDestinationInfo, setPreferredLocale, setResourceManager, setTemplateParser, setupForNextCycle, setValueForBinding, setValueForBinding, setValueForBinding, setValueForBinding, setValueForBinding, setValueForBinding, shouldCachePage, shouldCloseElements, strings, stringValueForBinding, stringValueForBinding, stringValueForBinding, template, templateName, templateParser, templateResource, templateResourceManager, truncateBacktrackState, truncateBacktrackState, urlForResourceNamed, urlForResourceNamed, urlForResourceNamed, useXmlEscaping, valueForBinding, valueForBinding, valueForBinding, xml
 
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

ActionIndicator

public static final java.lang.String ActionIndicator
See Also:
Constant Field Values

NoSelectionString

public static final java.lang.String NoSelectionString
See Also:
Constant Field Values

_elementId

public AWEncodedString _elementId

_currentOptionId

public AWEncodedString _currentOptionId

_noSelectionString

public AWEncodedString _noSelectionString

_currentIndex

public java.lang.Integer _currentIndex

_currentAction

public AWAction _currentAction

_orderedList

public java.lang.Object _orderedList

_actionList

public AWAction[] _actionList

_selectedItem

public java.lang.Object _selectedItem
Constructor Detail

AWPopup

public AWPopup()
Method Detail

supportedBindingNames

public java.lang.String[] supportedBindingNames()
Overrides:
supportedBindingNames in class AWComponent

initActionList

public static AWAction[] initActionList(AWComponentReference componentReference)

setCurrentItem

public void setCurrentItem(java.lang.Object object)

setCurrentIndex

public void setCurrentIndex(java.lang.Integer integer)

onChangeString

public AWEncodedString onChangeString()

onMouseWheelString

public AWEncodedString onMouseWheelString()

onKeyDownString

public AWEncodedString onKeyDownString()

isHiddenFieldSender

public boolean isHiddenFieldSender()

isCurrentItemSelected

public java.lang.String isCurrentItemSelected()

setFormValue

public void setFormValue(java.lang.String formValue)

regularItemClicked

public AWResponseGenerating regularItemClicked()

actionItemClicked

public AWResponseGenerating actionItemClicked()

isActionVisible

public boolean isActionVisible()

isDisabled

public java.lang.String isDisabled()

popupId

public java.lang.Object popupId()

isEditable

public boolean isEditable()


AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.