<w:PopupMenuItem>
see <w:PopupMenu/>
Bindings |
action
|
The action that fires when the MenuItem is clicked.
|
AWResponseGenerating
(get)
|
submitForm
|
If the PopupMenuItem is within an AWForm, clicking it will automatically
submit the form. If you want to disable this on a given menu-item
use submitForm="$false"
|
boolean
(get)
|
indentation
|
The number of pixels to indent the display region of the PopupMenuItem.
|
int
(get)
|
showCheck
|
Optionally shows a check mark on the left of MenuItem. The meaning
of the checkmark is application specific, but it usually means some
option is toggled true.
|
boolean
(get)
|
showBullet
|
Optionally shows a bullet on the left of MenuItem. The meaning
of the bullet is application specific, but it usually means some
(mutually exclusive) option is toggled true. By mutually exclusive
|
boolean
(get)
|
title
|
The "Tool tip" that displays when the mouse hovers over the MenuItem
|
String
(get)
|
disabled
|
Makes the MenuItem unclickable and greys out its appearance.
|
boolean
(get)
|
collapsed
|
Should the item be initially hidden (and only revealed when the user clicks
the expand arrow within the menu). Used for long menus with some menu items
"overflowed" out of the MRU.
|
boolean
(get)
|
clientTrigger
|
clientTrigger js executed on client before AW handling invocation
of action binding. May be arbitrary javascript expression.
Note that, if you specify an onClick or onKeyPress binding, this
binding is ignored.
|
String
(get)
|
style
|
The style which applies to the container of the PopupMenuItem.
Use this to override the "awmenuCell" class setting which
apply by default.
|
String
(get)
|
onKeyPress
|
Allows for overridding the default onKeyDown behavior (Menu.menuKeyDown()).
|
String
(get)
|
onClick
|
Allows for overridding the default onClick behavior (Menu.menuClicked()).
|
String
(get)
|
target
|
Todo: This binding is not implemented. We need to determine
if Safari (Macintosh) still needs special handling (ie the div
rather than the 'anchor'). If Safari can work with the anchor, we
can eliminate that special case and simply pass the target to the
anchor as an attribute (ie ) and tell
the requestContext about the frameName. However, if Safari still
requires special handling, then we'll need to handle the proper
behavior code.
On the other hand, since we are not passing an href to the anchor, we may be able
to do the same thing for both the div and the anchor. In any case, its
more than I can address at the present moment.
If you provide the target binding, the response (from clicking
the PopupMenuItem) will appear in a new window named by the value
of your target binding.
|
String
(get)
|
ariba.ui.widgets
Class PopupMenuItem
java.lang.Object
ariba.ui.aribaweb.util.AWBaseObject
ariba.ui.aribaweb.core.AWComponent
ariba.ui.widgets.PopupMenuItem
- All Implemented Interfaces:
- AWCycleable, AWCycleableReference, AWResponseGenerating, AWResponseGenerating.ResponseSubstitution, AWObject
public final class PopupMenuItem
- extends AWComponent
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, 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 java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndentationIncrement
public static int IndentationIncrement
_elementId
public AWEncodedString _elementId
_disabled
public boolean _disabled
_indentation
public int _indentation
_showCheckBinding
public AWBinding _showCheckBinding
_showBulletBinding
public AWBinding _showBulletBinding
_disabledBinding
public AWBinding _disabledBinding
_indentationBinding
public AWBinding _indentationBinding
_submitFormBinding
public AWBinding _submitFormBinding
_styleBinding
public AWBinding _styleBinding
_actionBinding
public AWBinding _actionBinding
_targetBinding
public AWBinding _targetBinding
_collapsedBinding
public AWBinding _collapsedBinding
_clientTriggerBinding
public AWBinding _clientTriggerBinding
PopupMenuItem
public PopupMenuItem()
awake
public void awake()
renderResponse
public void renderResponse(AWRequestContext requestContext,
AWComponent component)
- Description copied from interface:
AWCycleable
- The receiver should render its content to the
AWRequestContext.response()
- Specified by:
renderResponse
in interface AWCycleable
- Overrides:
renderResponse
in class AWComponent
- Parameters:
requestContext
- the context for the current request.component
- the current parent component
invokeAction
public AWResponseGenerating invokeAction()
submitForm
public boolean submitForm()
bhSubmitForm
public java.lang.Boolean bhSubmitForm()
frameName
public AWEncodedString frameName()
onMouseDownString
public java.lang.String onMouseDownString()
onKeyDownString
public java.lang.String onKeyDownString()
checkmarkFilename
public java.lang.String checkmarkFilename()
bulletFilename
public java.lang.String bulletFilename()
disabledClassString
public java.lang.String disabledClassString()
classString
public java.lang.String classString()
tagName
public java.lang.String tagName()
AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.