Ajax4Jsf
Tag mediaOutput


Class for create any link-type elements to user-generated resources : images, sounds, video, active objects, applets etc. Method specified in "CreateContent" attribute will put the data from Data Bean specified in "value" attribute to the OutputStream. Important: Data Bean specified in "value" must implement Serializable.


Tag Information
Tag Classorg.ajax4jsf.taglib.html.jsp.MediaOutputTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameLink to user-generated resource

Attributes
NameRequiredRequest-timeTypeDescription
declarefalsefalsejava.lang.Stringdeclare but don't instantiate flag
dirfalsefalsejava.lang.StringDirection indication for text that does not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left)
idfalsefalsejava.lang.StringEvery component may have a unique id that is automatically created if omitted
revfalsefalsejava.lang.StringA reverse link from the anchor specified by this hyperlink to the current document. The value of this attribute is a space-separated list of link types
mimeTypefalsefalsejava.lang.StringGeterated content mime-type for append to response header ( 'image/jpeg' etc )
stylefalsefalsejava.lang.StringCSS style(s) is/are to be applied when this component is rendered
onmouseoverfalsefalsejava.lang.StringHTML: a script expression; a pointer is moved onto
onkeyupfalsefalsejava.lang.StringHTML: a script expression; a key is released
tabindexfalsefalsejava.lang.StringThis attribute specifies the position of the current element in the tabbing order for the current document. This value must be a number between 0 and 32767. User agents should ignore leading zeros
archivefalsefalsejava.lang.Stringspace-separated list of URIs
converterfalsefalsejava.lang.StringID of a converter to be used or a reference to a converter.
langfalsefalsejava.lang.StringCode describing the language used in the generated markup for this component
createContentfalsefalsejava.lang.StringMethod call expression to send generated resource to OutputStream. It must have two parameter with a type of java.io.OutputStream and java.lang.Object ( deserialized value of data attribute )
onmouseoutfalsefalsejava.lang.StringHTML: a script expression; a pointer is moved away
elementfalsefalsejava.lang.StringName of html element for resource link - may be <a> <img> <object> <applet> <script> or <link>
relfalsefalsejava.lang.StringThe relationship from the current document to the anchor specified by this hyperlink. The value of this attribute is a space-separated list of link types
onmouseupfalsefalsejava.lang.StringHTML: script expression; a pointer button is released
cacheablefalsefalsejava.lang.StringIf "true", the resource is cached (on the server and the client sides).
bindingfalsefalsejava.lang.StringThe attribute takes a value-binding expression for a component property of a backing bean
expiresfalsefalsejava.lang.StringThe attribute allows to manage caching and defines the period after which a resource is reloaded.
onmousemovefalsefalsejava.lang.StringHTML: a script expression; a pointer is moved within
coordsfalsefalsejava.lang.StringThis attribute specifies the position and shape on the screen. The number and order of values depends on the shape being defined. Possible combinations: * rect: left-x, top-y, right-x, bottom-y. * circle: center-x, center-y, radius. Note. When the radius value is percentage value, user agents should calculate the final radius value based on the associated object's width and height. The radius should be the smaller value of the two. * poly: x1, y1, x2, y2, ..., xN, yN. The first x and y coordinate pair and the last should be the same to close the polygon. When these coordinate values are not the same, user agents should infer an additional coordinate pair to close the polygon. Coordinates are relative to the top, left corner of the object. All values are lengths. All values are separated by commas
titlefalsefalsejava.lang.StringAdvisory title information about markup elements generated for this component
shapefalsefalsejava.lang.Stringdefault|rect|circle|poly [CI] This attribute specifies the shape of a region. Possible values: * default: Specifies the entire region. * rect: Define a rectangular region. * circle: Define a circular region. * poly: Define a polygonal region.
targetfalsefalsejava.lang.StringThis attribute specifies the name of a frame where a document is to be opened. By assigning a name to a frame via the name attribute, authors can refer to it as the "target" of links defined by other elements
sessionfalsefalsejava.lang.StringIf "true", a session for an object generation is restored.
charsetfalsefalsejava.lang.StringThe character encoding of a resource designated by this hyperlink
renderedfalsefalsejava.lang.StringIf "false", this component is not rendered
codetypefalsefalsejava.lang.Stringcontent type for code
classidfalsefalsejava.lang.Stringidentifies an implementation
styleClassfalsefalsejava.lang.StringCorresponds to the HTML class attribute
accesskeyfalsefalsejava.lang.StringThis attribute assigns an access key to an element. An access key is a single character from the document character set. Note: Authors should consider the input method of the expected reader when specifying an accesskey
onkeypressfalsefalsejava.lang.StringHTML: a script expression; a key is pressed and released
ondblclickfalsefalsejava.lang.StringHTML: a script expression; a pointer button is double-clicked
alignfalsefalsejava.lang.Stringbottom|middle|top|left|right Deprecated. This attribute specifies the position of an IMG, OBJECT, or APPLET with respect to its context. The following values for align concern the object's position with respect to surrounding text: * bottom: means that the bottom of the object should be vertically aligned with the current baseline. This is the default value. * middle: means that the center of the object should be vertically aligned with the current baseline. * top: means that the top of the object should be vertically aligned with the top of the current text line
vspacefalsefalsejava.lang.StringDeprecated. This attribute specifies the amount of white space to be inserted above and below an IMG, APPLET, or OBJECT. The default value is not specified, but is generally a small, non-zero length
lastModifiedfalsefalsejava.lang.StringThe attribute allows to manage caching. A browser can send request with the header "If-Modified-Since" for necessity of object reloading. If time of modification is earlier, then the framework doesn't call generation and return code 304.
usemapfalsefalsejava.lang.Stringuse client-side image map
standbyfalsefalsejava.lang.Stringmessage to show while loading
borderfalsefalsejava.lang.StringDeprecated. This attribute specifies the width of an IMG or OBJECT border, in pixels. The default value for this attribute depends on the user agent
onblurfalsefalsejava.lang.StringJavaScript code. The onblur event occurs when an element loses focus either by the pointing device or by tabbing navigation. It may be used with the same elements as onfocus
valuefalsefalsejava.lang.StringData value calculated at render time and stored in URI (also as part of cache Key ), at generation time passed to send method. Can be used for update cache at change of generating conditions, and for creating beans as "Lightweight" pattern components (request scope). IMPORTANT: Since serialized data stored in URI, avoid using big objects.
hreflangfalsefalsejava.lang.StringBase language of a resource specified with the href attribute; hreflang may only be used with href
codebasefalsefalsejava.lang.Stringbase URI for classid, data, archive
typefalsefalsejava.lang.StringThe content type of the resource designated by this hyperlink
uriAttributefalsefalsejava.lang.StringName of attribute for resource-link attribute ( 'href' for <a>, 'src' for <img> or <script>, etc
onclickfalsefalsejava.lang.StringHTML: a script expression; a pointer button is clicked
ismapfalsefalsejava.lang.Stringuse server-side image map
onkeydownfalsefalsejava.lang.StringHTML: a script expression; a key is pressed down
onmousedownfalsefalsejava.lang.StringHTML: script expression; a pointer button is pressed down
hspacefalsefalsejava.lang.StringDeprecated. This attribute specifies the amount of white space to be inserted to the left and right of an IMG, APPLET, or OBJECT. The default value is not specified, but is generally a small, non-zero length
onfocusfalsefalsejava.lang.StringJavaScript code. The onfocus event occurs when an element gets focus

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.