Tomahawk tag library.
Tag swapImage


Unless otherwise specified, all attributes accept static values or EL expressions.


Tag Information
Tag Classorg.apache.myfaces.custom.swapimage.HtmlSwapImageTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
borderfalsefalsejava.lang.StringHTML: Specifies the width of the border of this element, in pixels. Deprecated in HTML 4.01.
hspacefalsefalsejava.lang.StringHTML: The amount of white space to be inserted to the left and right of this element, in undefined units. Deprecated in HTML 4.01.
vspacefalsefalsejava.lang.StringHTML: The amount of white space to be inserted above and below this element, in undefined units. Deprecated in HTML 4.01.
swapImageUrltruefalsejava.lang.Stringthe url of the image displayed onmouseover
activeImageUrlfalsefalsejava.lang.StringactiveImage will be rendered if: swapImage is a direct child of commandNavigation and the commandNavigation.isActive
altfalsefalsejava.lang.StringHTML: Specifies alternative text that can be used by a browser that can't show this element.
heightfalsefalsejava.lang.StringHTML: Overrides the natural height of this image, by specifying height in pixels.
ismapfalsefalsejava.lang.StringHTML: Specifies server-side image map handling for this image.
longdescfalsefalsejava.lang.StringHTML: A link to a long description of the image.
onclickfalsefalsejava.lang.StringHTML: Script to be invoked when the element is clicked.
ondblclickfalsefalsejava.lang.StringHTML: Script to be invoked when the element is double-clicked.
onkeydownfalsefalsejava.lang.StringHTML: Script to be invoked when a key is pressed down over this element.
onkeypressfalsefalsejava.lang.StringHTML: Script to be invoked when a key is pressed over this element.
onkeyupfalsefalsejava.lang.StringHTML: Script to be invoked when a key is released over this element.
usemapfalsefalsejava.lang.StringHTML: Specifies an image map to use with this image.
widthfalsefalsejava.lang.StringHTML: Overrides the natural width of this image, by specifying width in pixels.
dirfalsefalsejava.lang.StringHTML: The direction of text display, either 'ltr' (left-to-right) or 'rtl' (right-to-left).
langfalsefalsejava.lang.StringHTML: The base language of this document.
titlefalsefalsejava.lang.StringHTML: An advisory title for this element. Often used by the user agent as a tooltip.
stylefalsefalsejava.lang.StringHTML: CSS styling instructions.
styleClassfalsefalsejava.lang.StringThe CSS class for this element. Corresponds to the HTML 'class' attribute.
alignfalsefalsejava.lang.StringHTML: Specifies the horizontal alignment of this element. Deprecated in HTML 4.01.
urlfalsefalsejava.lang.StringAn alias for the "value" attribute.
valuefalsefalsejava.lang.StringThe URL of the image. If the URL starts with a '/', it is relative to the context path of the web application.
idfalsefalsejava.lang.StringAn identifier for this particular component instance within a component view.

The id must be unique within the scope of the tag's enclosing NamingContainer (eg h:form or f:subview). The id is not necessarily unique across all components in the current view

This value must be a static value, ie not change over the lifetime of a component. It cannot be defined via an EL expression; only a string is permitted.

renderedfalsefalsejava.lang.StringA boolean value that indicates whether this component should be rendered. Default value: true.
bindingfalsefalsejava.lang.StringIdentifies a backing bean property (of type UIComponent or appropriate subclass) to bind to this component instance. This value must be an EL expression.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.