q
Tag dynamicImage


The DynamicImage is a component that, unlike the standard JSF HtmlGraphicImage component which displays an image already stored as an application file, provides the ability to display an image which is dynamically generated at run time, or which is not available as an application file but, for example, is retrieved from a database.


Tag Information
Tag Classteamdev.jsf.taglib.DynamicImageJspTag
TagExtraInfo ClassNone
Body Contentempty
Display NameNone

Attributes
NameRequiredBinding TypeELDefaultDescription
altfalsejava.lang.StringtruenullThe "alt" text that is shown if the image is not loaded by the browser.
bindingfalseteamdev.jsf.component.dynamicimage.DynamicImageonlynullA value-binding expression that associates the DynamicImage with a backing bean property.
datafalsebyte[],
java.awt.image.RenderedImage
truenullThe data model of the image to be generated dynamically. There are two ways to specify the data model:
Specify the image as a byte array. In this case, the data attribute should be set as a value-binding expression that references the byte array representing the image file.
Specify the data model as an implementation of the java.awt.image.RenderedImage interface. The "data" attribute should be specified as a value-binding expression that references the value of the java.awt.image.RenderedImage type.
heightfalseinttruenullThe height of the DynamicImage component. Can be specified in any units (px, mm, em, etc.).
idfalsejava.lang.StringfalsenullThe component identifier.
renderedfalsebooleantruetrueA flag that indicates whether or not the component is visible.
stylefalsejava.lang.StringtruenullA style for the DynamicImage component.
styleClassfalsejava.lang.StringtruenullA CSS class name for the DymanicImage component.
widthfalseinttruenullThe width of the DynamicImage component. Can be specified in any units (px, mm, em, etc.).

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.