o
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 Classorg.openfaces.taglib.jsp.output.DynamicImageJspTag
TagExtraInfo ClassNone
Body Contentempty
Display NameNone

Attributes
NameRequiredBinding TypeELDefaultDescription
altfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullThe "alt" text that is shown if the image is not loaded by the browser.
bindingfalsejavax.el.ValueExpression
(must evaluate to org.openfaces.component.output.DynamicImage)
onlynullA value-binding expression that associates the DynamicImage component with a backing bean property.
datafalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
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.
heightfalsejavax.el.ValueExpression
(must evaluate to int)
truenullThe height of the DynamicImage component. Can be specified in any units (px, mm, em, etc.).
idfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
falsenullThe component identifier.
onclickfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed on the client when the user clicks the left mouse button over the DynamicImage.
oncontextmenufalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user presses right mouse button over the component (or performs the other context menu invocation action depending on the platform).
ondblclickfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed on the client when the user double-clicks the left mouse button over the DynamicImage.
onkeydownfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user presses a key down over the DynamicImage.
onkeypressfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed on the client when the user presses and releases a key over the DynamicImage.
onkeyupfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user releases a key over the DynamicImage.
onmousedownfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user clicks the DynamicImage with either mouse button.
onmousemovefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user moves the mouse pointer over the DynamicImage.
onmouseoutfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user moves the mouse pointer away from the DynamicImage.
onmouseoverfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user moves the mouse pointer onto the DynamicImage.
onmouseupfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullJavaScript code that should be executed when the user releases a mouse button over the DynamicImage.
renderedfalsejavax.el.ValueExpression
(must evaluate to boolean)
truetrueA flag that indicates whether or not the component is visible.
rolloverClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for the DynamicImage component in the rollover state.
rolloverStylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the DynamicImage component in the rollover state.
stylefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA style for the DynamicImage component.
styleClassfalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
truenullA CSS class name for the DymanicImage component.
widthfalsejavax.el.ValueExpression
(must evaluate to int)
truenullThe 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.