<w:PopupControl>

Works like an AWPopup, except using our JavaScript/CSS based PopupMenuLink / PopupMenuButton. This can be useful: 1) to workaround the IE SELECT element bug where an incremental refresh that affects a popup causes the browser to do a full screen flash. 2) to deal with layouts where the traditional popup control is rendering too wide (i.e. AWPopup renders its control to be as wide as its widest element (not the selected element)

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 takeValues 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)
action

The action invoked when a popup menu item is changed.

AWResponseGenerating
(get)
disabled

Disables the popup menu if true.

boolean
(get)
size

Not supported?

int
(get)

ariba.ui.widgets
Class PopupControl

java.lang.Object
  extended by ariba.ui.aribaweb.util.AWBaseObject
      extended by ariba.ui.aribaweb.core.AWComponent
          extended by ariba.ui.widgets.PopupControl
All Implemented Interfaces:
AWCycleable, AWCycleableReference, AWResponseGenerating, AWResponseGenerating.ResponseSubstitution, AWObject

public class PopupControl
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
PopupControl()
           
 
Method Summary
 AWResponseGenerating actionClickedAction()
           
 java.lang.String buttonClass()
           
 java.lang.String isCurrentItemSelected()
           
 AWResponseGenerating itemClickedAction()
           
 void setCurrentIndex(java.lang.Integer integer)
           
 void setCurrentItem(java.lang.Object object)
           
 
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, supportedBindingNames, 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

_menuId

public java.lang.Object _menuId

_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

_disabled

public boolean _disabled
Constructor Detail

PopupControl

public PopupControl()
Method Detail

setCurrentItem

public void setCurrentItem(java.lang.Object object)

setCurrentIndex

public void setCurrentIndex(java.lang.Integer integer)

isCurrentItemSelected

public java.lang.String isCurrentItemSelected()

itemClickedAction

public AWResponseGenerating itemClickedAction()

actionClickedAction

public AWResponseGenerating actionClickedAction()

buttonClass

public java.lang.String buttonClass()


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