AWHyperlink with confirmation


Will be evaluated when the invokeAction phase detects that the hyperlink was clicked. A value of null should be returned to cycle the current page. Note: it is recommended that you declare your return type to be either AWComponent or AWResponse, unless you cannot be sure because you are deferring to another method for the action.


In the event you don't need to do anything to setup the state for the returned page, this may be more convenient than 'action' since you don't need to write any java code. This will be evaluated during the invokeAction phase in order to get the name of the page to create and return.


Allows for submitting the form in which the hyperlink is defined. If specified and evaluates to true, javascript will be used to submit the enclosing form. Do not use onClick with AWHyperlink along with submitForm. [In fact, its generally a bad idea to use javascript with any awf components as it conflicts with intenal implementation.]


As long as submitForm is false, you may associate an onClick with the AWHyperlink, but it is strongly discouraged. It would be better to use an AWGenericContainer and build your own at that point.


Allows for not rendering the opening/closing tags of the . This makes it easy to avoid duplicating the body of the hyperlink just to turn off the link itself. If true, only the body is rendered. Since, the tags are not rendered, the user cannot click the link so none of the bindings which would apply then have any effect.


Allows for providing your own senderId (eg to allow for human readable senderid). It is strongly recommended that this not be used as the system cannot guarantee proper results if used incorrectly.


No longer supported.

Provide your own href. Rather than use this, you should consider using a GenericContainer and making your own.


When the link is clicked and the page cycled (same page returned), it will attempt to scroll the page to where the link is at the top of the page.


If provided, will put a target attribute in the tag so the browser will open the returned page in this new window. This is not recommened for nor application usage as multi-window apps are problematic. In any case, we do maintain a separate page cache for newly created windows, so this will also place the returned page in that separate page cache.


If the target binding is used, you may specify the window attributes with this binding. See book on html/javascript and look for window.open(...) for details.


No longer supported.

If specified, must be the name of another anchor tag on the destination page so the browser can scroll to that link.


Not supported?

confirmationId String

Override the client side behavior (default is CHL).


Class ConfirmationLink

  extended by ariba.ui.aribaweb.util.AWBaseObject
      extended by ariba.ui.aribaweb.core.AWComponent
          extended by ariba.ui.aribaweb.html.AWHyperlink
              extended by ariba.ui.widgets.ConfirmationLink
All Implemented Interfaces:
AWCycleable, AWCycleableReference, AWResponseGenerating, AWResponseGenerating.ResponseSubstitution, AWObject

public class ConfirmationLink
extends AWHyperlink

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
Constructor Summary
Method Summary
 void renderResponse(AWRequestContext requestContext, AWComponent component)
          The receiver should render its content to the AWRequestContext.response()
 java.lang.String[] supportedBindingNames()
Methods inherited from class ariba.ui.aribaweb.html.AWHyperlink
frameName, hrefString, invokeAction, isHiddenFieldSender, isSender, omitLink, otherBindingsValues, remoteLinkUrl, senderId, staticOrOmit, staticUrlForActionResults
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, 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, 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


public AWEncodedString _confirmationId


public AWEncodedString _elementId


public AWEncodedString _senderId


public boolean _isSubmitForm


public AWBinding _confirmationIdBinding
Constructor Detail


public ConfirmationLink()
Method Detail


public java.lang.String[] supportedBindingNames()
supportedBindingNames in class AWHyperlink


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
renderResponse in class AWHyperlink
requestContext - the context for the current request.
component - the current parent component

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