h
Tag graphicImage


Renders an HTML "img" element. Render the clientId as the value of the "id" attribute. 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 the ExternalContext. When handling the "src" attribute, the value must not be escaped. For example, & must not be turned into &. If the "styleClass" attribute is specified, render its value as the value of the "class" attribute.


Tag Information
Tag Classcom.sun.faces.taglib.html_basic.GraphicImageTag
TagExtraInfo Classcom.sun.faces.taglib.FacesTagExtraInfo
Body ContentJSP
Display NameNone

Attributes
id
The component identifier for this component. This value must be unique within the closest parent component that is a naming container.
 
Required: false
Request-time: false
Type: java.lang.String
rendered
Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. The default value for this property is true.
 
Required: false
Request-time: false
Type: java.lang.String
url
Context-relative URL to retrieve the resource associated with this component. This is an alias for the "value" property.
 
Required: false
Request-time: false
Type: java.lang.String
value
The current value of this component.
 
Required: false
Request-time: false
Type: java.lang.String
alt
Alternate textual description of the element rendered by this component.
 
Required: false
Request-time: false
Type: java.lang.String
dir
Direction indication for text that does not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left).
 
Required: false
Request-time: false
Type: java.lang.String
height
Override for the height of this image.
 
Required: false
Request-time: false
Type: java.lang.String
ismap
Flag indicating that this image is to be used as a server side image map. Such an image must be enclosed within a hyperlink ("a"). A value of false causes no attribute to be rendered, while a value of true causes the attribute to be rendered as ismap="ismap".
 
Required: false
Request-time: false
Type: java.lang.String
lang
Code describing the language used in the generated markup for this component.
 
Required: false
Request-time: false
Type: java.lang.String
longdesc
URI to a long description of the image represented by this element.
 
Required: false
Request-time: false
Type: java.lang.String
onclick
Javascript code executed when a pointer button is clicked over this element.
 
Required: false
Request-time: false
Type: java.lang.String
ondblclick
Javascript code executed when a pointer button is double clicked over this element.
 
Required: false
Request-time: false
Type: java.lang.String
onkeydown
Javascript code executed when a key is pressed down over this element.
 
Required: false
Request-time: false
Type: java.lang.String
onkeypress
Javascript code executed when a key is pressed and released over this element.
 
Required: false
Request-time: false
Type: java.lang.String
onkeyup
Javascript code executed when a key is released over this element.
 
Required: false
Request-time: false
Type: java.lang.String
onmousedown
Javascript code executed when a pointer button is pressed down over this element.
 
Required: false
Request-time: false
Type: java.lang.String
onmousemove
Javascript code executed when a pointer button is moved within this element.
 
Required: false
Request-time: false
Type: java.lang.String
onmouseout
Javascript code executed when a pointer button is moved away from this element.
 
Required: false
Request-time: false
Type: java.lang.String
onmouseover
Javascript code executed when a pointer button is moved onto this element.
 
Required: false
Request-time: false
Type: java.lang.String
onmouseup
Javascript code executed when a pointer button is released over this element.
 
Required: false
Request-time: false
Type: java.lang.String
style
CSS style(s) to be applied when this component is rendered.
 
Required: false
Request-time: false
Type: java.lang.String
styleClass
Space-separated list of CSS style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup.
 
Required: false
Request-time: false
Type: java.lang.String
title
Advisory title information about markup elements generated for this component.
 
Required: false
Request-time: false
Type: java.lang.String
usemap
The name of a client side image map (an HTML "map" element) for which this element provides the image.
 
Required: false
Request-time: false
Type: java.lang.String
width
Override for the width of this image.
 
Required: false
Request-time: false
Type: java.lang.String
binding
The ValueExpression linking this component to a property in a backing bean
 
Required: false
Request-time: false
Type: java.lang.String

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.