Ajax4jsf ( Legacy URL )
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
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
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
archivefalsefalsejava.lang.Stringspace-separated list of URIs
bindingfalsefalsejava.lang.StringThe attribute takes a value-binding expression for a component property of a backing bean
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
cacheablefalsefalsejava.lang.StringIf "true", the resource is cached (on the server and the client sides).
charsetfalsefalsejava.lang.StringThe character encoding of a resource designated by this hyperlink
classidfalsefalsejava.lang.Stringidentifies an implementation
codebasefalsefalsejava.lang.Stringbase URI for classid, data, archive
codetypefalsefalsejava.lang.Stringcontent type for code
converterfalsefalsejava.lang.StringID of a converter to be used or a reference to a converter.
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
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 )
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)
elementfalsefalsejava.lang.StringName of html element for resource link - may be <a> <img> <object> <applet> <script> or <link>
expiresfalsefalsejava.lang.StringThe attribute allows to manage caching and defines the period after which a resource is reloaded.
hreflangfalsefalsejava.lang.StringBase language of a resource specified with the href attribute; hreflang may only be used with href
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
idfalsefalsejava.lang.StringEvery component may have a unique id that is automatically created if omitted
ismapfalsefalsejava.lang.Stringuse server-side image map
langfalsefalsejava.lang.StringCode describing the language used in the generated markup for this component
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.
mimeTypefalsefalsejava.lang.StringGeterated content mime-type for append to response header ( 'image/jpeg' etc )
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
onclickfalsefalsejava.lang.StringHTML: a script expression; a pointer button is clicked
ondblclickfalsefalsejava.lang.StringHTML: a script expression; a pointer button is double-clicked
onfocusfalsefalsejava.lang.StringJavaScript code. The onfocus event occurs when an element gets focus
onkeydownfalsefalsejava.lang.StringHTML: a script expression; a key is pressed down
onkeypressfalsefalsejava.lang.StringHTML: a script expression; a key is pressed and released
onkeyupfalsefalsejava.lang.StringHTML: a script expression; a key is released
onmousedownfalsefalsejava.lang.StringHTML: script expression; a pointer button is pressed down
onmousemovefalsefalsejava.lang.StringHTML: a script expression; a pointer is moved within
onmouseoutfalsefalsejava.lang.StringHTML: a script expression; a pointer is moved away
onmouseoverfalsefalsejava.lang.StringHTML: a script expression; a pointer is moved onto
onmouseupfalsefalsejava.lang.StringHTML: script expression; a pointer button is released
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
renderedfalsefalsejava.lang.StringIf "false", this component is not rendered
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
sessionfalsefalsejava.lang.StringIf "true", a session for an object generation is restored.
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.
standbyfalsefalsejava.lang.Stringmessage to show while loading
stylefalsefalsejava.lang.StringCSS style(s) is/are to be applied when this component is rendered
styleClassfalsefalsejava.lang.StringCorresponds to the HTML class attribute
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
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
titlefalsefalsejava.lang.StringAdvisory title information about markup elements generated for this component
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
usemapfalsefalsejava.lang.Stringuse client-side image map
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.
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

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.