WAP Tags
Tag graphicImage


Renders an WML "img" element. Render the value of the component as the value of the "src" attribute, after passing it to the getResourceURL() method of the ViewHandler for this application, and passing the result through the encodeResourceURL() method of theExternalContext. Render the value of the alt attribute as the value of the "alt" attribute. If the "styleClass" attribute is specified, render its value as the value of the "class" attribute.


Tag Information
Tag Classorg.apache.myfaces.wap.taglib.GraphicImageTag
TagExtraInfo ClassNone
Body Contentempty
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
alttruefalsejava.lang.StringThis attribute specifies an alternative textual representation for the image. This representation is used when the image can not be displayed using any other method (i.e., the user agent does not support images, or the image contents can not be found).
urltruefalsejava.lang.StringThis attribute specifies the URI for the image. If the browser supports images, it downloads the image from the specified URI and renders it when the text is being displayed.
localsrcfalsefalsejava.lang.StringThis attribute specifies an alternative internal representation for the image. This representation is used if it exists; otherwise the image is downloaded from the URI specified in the src attribute, i.e., any localsrc parameter specified takes precedence over the image specified in the src parameter.
vspacefalsefalsejava.lang.StringThis attribute specify the amount of white space to be inserted to the above and below the image. The default value for this attribute is zero indicating that no white space should be inserted. If length is specified as a percentage value, the space inserted is based on the available horizontal or vertical space. This attribute is hints to the user agent and may be ignored.
hspacefalsefalsejava.lang.StringThis attribute specify the amount of white space to be inserted to the left and right the image. The default value for this attribute is zero indicating that no white space should be inserted. If length is specified as a percentage value, the space inserted is based on the available horizontal or vertical space. This attribute is hints to the user agent and may be ignored.
alignfalsefalsejava.lang.StringThis attribute specifies image alignment within the text flow and with respect to the current insertion point. Align has three possible values: (top|middle|bottom)
heightfalsefalsejava.lang.StringThis attribute give user agents an idea of the size of an image or object so that they may reserve space for it and continue rendering the card while waiting for the image data. User agents may scale objects and images to match these values if appropriate. If length is specified as a percentage value, the resulting size is based on the available vertical space, not on the natural size of the image. This attribute is a hint to the user agent and may be ignored.
widthfalsefalsejava.lang.StringThis attribute give user agents an idea of the size of an image or object so that they may reserve space for it and continue rendering the card while waiting for the image data. User agents may scale objects and images to match these values if appropriate. If length is specified as a percentage value, the resulting size is based on the available horizontal space, not on the natural size of the image. This attribute is a hint to the user agent and may be ignored.
styleClassfalsefalsejava.lang.StringThe attribute styleClass affiliates an element with one or more classes. Multiple elements can be given the same styleClass name.
xmllangfalsefalsejava.lang.StringThe xml:lang attribute specifies the natural or formal language of an element or its attributes.
valuefalsefalsejava.lang.StringThe current value of this component.
idfalsefalsejava.lang.StringThe component identifier for the associated component.
renderedfalsefalsebooleanFlag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.
bindingfalsefalsejava.lang.StringThe value binding expression linking this component to a property in a backing bean.

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.