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
accesskeyfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
This 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
alignfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Deprecated. This attribute specifies the position of an IMG, OBJECT, or APPLET with respect to its context. The possible values are "bottom", "middle", "top", "left" and "right". The default value is "middle".
archivefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Specifies a space-separated list of URIs
bindingfalsefalsejavax.el.ValueExpression
(must evaluate to javax.faces.component.UIComponent)
The attribute takes a value-binding expression for a component property of a backing bean
borderfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Deprecated. This attribute specifies the width of an IMG or OBJECT border, in pixels. The default value for this attribute depends on the user agent
cacheablefalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
Attribute is a flag that defines the caching strategy. If 'cacheable' is set to false, the response will not be cached. If it is set to true, it will be cached and the serialized value of 'value' attribute plays the role of a cache key.
charsetfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The character encoding of a resource designated by this hyperlink
classidfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
identifies an implementation
codebasefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
base URI for classid, data, archive
codetypefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Defines content type for code
converterfalsefalsejavax.el.ValueExpression
(must evaluate to javax.faces.convert.Converter)
ID of a converter to be used or a reference to a converter.
coordsfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The attribute specifies shape and it position on the screen. Possible values: "rect: left-x, top-y, right-x, bottom-y", "circle: center-x, center-y, radius", "poly: x1, y1, x2, y2, ..., xN, yN". Notes: a) when giving the radius value in percents, user agents should calculate the final radius value in pixels based on the associated object's width and height; b) the radius value should be smaller than center-x and center-y values; c) for a polygon, the first and last coordinate pairs should have same x and y to close the shape (x1=xN; y1=yN) (when these coordinates are different, user agents should infer an additional pair to close a polygon). Coordinates are relative to the top left corner of an object. All values are lengths. All values are comma separated.
createContentfalsefalsejavax.el.MethodExpression
(signature must match void createContent(java.io.OutputStream,java.lang.Object))
Method 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 )
createContentExpressionfalsefalsejavax.el.MethodExpression
(signature must match void createContentExpression(java.io.OutputStream,java.lang.Object))
Attribute references to the method that will be used for content creating. The method accepts two parameters. The first parameter has an OutputStream type. It is a reference to the steam that should be used for output. The second parameter is a reference to a 'value' attribute of the component.
declarefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
declare but don't instantiate flag
dirfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Direction indication for text that does not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left)
elementfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Name of html element for resource link - may be <a> <img> <object> <applet> <script> or <link>
expiresfalsefalsejavax.el.ValueExpression
(must evaluate to java.util.Date)
The attribute allows to manage caching and defines the period after which a resource is reloaded.
hreflangfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Base language of a resource specified with the href attribute; hreflang may only be used with href
hspacefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Deprecated. 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
ismapfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
use server-side image map
langfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Code describing the language used in the generated markup for this component
lastModifiedfalsefalsejavax.el.ValueExpression
(must evaluate to java.util.Date)
The 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.
mimeTypefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Geterated content mime-type for append to response header ( 'image/jpeg' etc )
onblurfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when the element loses the focus either when pointing a device or tabbing navigation. The attribute may be used with the same elements as onfocus
onclickfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when the element is clicked
ondblclickfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when the element is double-clicked
onfocusfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when the element gets the focus
onkeydownfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a key is pressed down over the element
onkeypressfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a key is pressed over the element and released
onkeyupfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a key is released
onmousedownfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a mouse button is pressed down over the element
onmousemovefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a pointer is moved within the element
onmouseoutfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a pointer is moved away from the element
onmouseoverfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a pointer is moved onto the element
onmouseupfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The client-side script method to be called when a mouse button is released
relfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The 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
renderedfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
If "false", this component is not rendered
revfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
A 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
sessionfalsefalsejavax.el.ValueExpression
(must evaluate to boolean)
If "true", a session for an object generation is restored.
shapefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
This attribute specifies the shape of a region. The possible values are "default", "rect", "circle" and "poly".
standbyfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
message to show while loading
stylefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
CSS style rules to be applied to the component
styleClassfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Assigns one or more CSS class names to the component. Corresponds to the HTML "class" attribute.
tabindexfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
This 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
targetfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
This 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
titlefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Advisory title information about markup elements generated for this component
typefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
The content type of the resource designated by this hyperlink
uriAttributefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Name of attribute for resource-link attribute ( 'href' for <a>, 'src' for <img> or <script>, etc)
usemapfalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Specifies an image as a client-side image-map
valuefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.Object)
Data 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.
vspacefalsefalsejavax.el.ValueExpression
(must evaluate to java.lang.String)
Deprecated. 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.