Renders an <img ../> tag into the outgoing html along with appropriate attributes. If the filename attribute is provided, AWImage will automatically compute the width and height from the image file it locates under the application resource directories. The url generated is controlled by the AWResourceManager's url specification for the directory in which the image is found, but generally, the url's generated are directed at the webserver and not back into the application server.


The relative path of the image file, including the suffix (eg filename="widg/banner.gif"). This will be used to lookup the actual path of the image via the resourceManager, so localized images are supported automatically.


If the width is provided it will be used in preference to the automatically computed width (determined from the image file). It is strongly advised not to define this attribute as it is likely to get out of sync with the imge's actual width. Only in the case of cleardot.gif does it make sense to provide a width.


If this binding is set then we will always generate the full URL for the image, even if direct connect is on for the application.


If the height is provided it will be used in preference to the automatically computed height (determined from the image file). It is strongly advised not to define this attribute as it is likely to get out of sync with the imge's actual height. Only in the case of cleardot.gif does it make sense to provide a height.


Defines the image's border attribute. Since borders are generally undesirable, the default is 0, which disables the browser's default behavior of displaying a broder when an image is within a hyperlink.


Provides the images title attribute. If the title is not defined but the alt attribute is defined, the value for alt is used for the title and alt.


Provides the images alt attribute. If the alt is not defined but the title attribute is defined, the value for title is used for the title and alt. If the title and alt is not specified, then the default is empty string.


Arbitrary key/value pairs may be passed-through to the <img.../> tag. Most common html components also allow for this.


The src attribute passed through to img tag.


Class AWImage

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

public class AWImage
extends AWBaseImage

subclassed by ariba/common/template/customer/AribaImage

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
 AWElement determineInstance(java.lang.String elementName, java.util.Map bindingsHashtable, java.lang.String templateName, int lineNumber)
static void registerStaticImageName(java.lang.String imageName)
Methods inherited from class ariba.ui.aribaweb.html.AWBaseImage
alt, height, imageUrl, imageUrl, imageUrl, supportedBindingNames, width
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, 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

Constructor Detail


public AWImage()
Method Detail


public static void registerStaticImageName(java.lang.String imageName)


public AWElement determineInstance(java.lang.String elementName,
                                   java.util.Map bindingsHashtable,
                                   java.lang.String templateName,
                                   int lineNumber)
Specified by:
determineInstance in interface AWCycleableReference
determineInstance in class AWComponent

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