# a4j

## Tag mediaOutput

- Description:

    The <a4j:mediaOutput> component is used for generating images, video, sounds, and other resources defined on the fly.

    @author shura

- Component Information
  Info | Value
  --- | ---
  Component Type | `org.richfaces.MediaOutput`
  Handler Class | `org.richfaces.view.facelets.html.MediaOutputHandler`
  Renderer Type | `org.richfaces.MediaOutputRenderer`
  Description | The <a4j:mediaOutput> component is used for generating images, video, sounds, and other resources defined on the fly. @author shura

- Attributes
  Name | Required | Type | Description
  --- | --- | --- | ---
  `accesskey` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Access key that, when pressed, transfers focus to this element.
  `align` | `false` | `javax.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".
  `archive` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Specifies a space-separated list of URIs
  `binding` | `false` | `javax.el.ValueExpression` (must evaluate to `javax.faces.component.UIComponent`) | The value binding expression used to wire up this component to a component property of a JavaBean class
  `border` | `false` | `javax.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
  `cacheable` | `false` | `javax.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.
  `charset` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The character encoding of the resource designated by this hyperlink.
  `classid` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Identifies an implementation
  `codebase` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Base URI for classid, data, archive
  `codetype` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Defines content type for code
  `coords` | `false` | `javax.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: 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; the radius value should be smaller than center-x and center-y values; 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.
  `createContent` | `false` | `javax.el.ValueExpression` (must evaluate to `javax.el.MethodExpression`) | 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 )
  `declare` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Declare but don't instantiate flag
  `dir` | `false` | `javax.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).
  `disabled` | `false` | `javax.el.ValueExpression` (must evaluate to `boolean`) | Flag indicating that this element must never receive focus or be included in a subsequent submit. Default value - "false"
  `element` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Get the Element name for rendering ( img , a , object, applet ).
  `expires` | `false` | `javax.el.ValueExpression` (must evaluate to `java.util.Date`) | The attribute allows to manage caching and defines the period after which a resource is reloaded.
  `fileName` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Filename of the resource to be served
  `hreflang` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The language code of the resource designated by this hyperlink.
  `hspace` | `false` | `javax.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
  `id` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The component identifier for this component. This value must be unique within the closest parent component that is a naming container.
  `ismap` | `false` | `javax.el.ValueExpression` (must evaluate to `boolean`) | Use server-side image map
  `lang` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Code describing the language used in the generated markup for this component.
  `lastModified` | `false` | `javax.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.
  `mimeType` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Geterated content mime-type for append to response header ( 'image/jpeg' etc )
  `onblur` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Javascript code executed when this element loses focus.
  `onclick` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Javascript code executed when a pointer button is clicked over this element.
  `ondblclick` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Javascript code executed when a pointer button is double clicked over this element.
  `onfocus` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Javascript code executed when this element receives focus.
  `onkeydown` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Javascript code executed when a key is pressed down over this element.
  `onkeypress` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Javascript code executed when a key is pressed and released over this element.
  `onkeyup` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Javascript code executed when a key is released over this element.
  `onmousedown` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Javascript code executed when a pointer button is pressed down over this element.
  `onmousemove` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Javascript code executed when a pointer button is moved within this element.
  `onmouseout` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Javascript code executed when a pointer button is moved away from this element.
  `onmouseover` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Javascript code executed when a pointer button is moved onto this element.
  `onmouseup` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Javascript code executed when a pointer button is released over this element.
  `rel` | `false` | `javax.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.
  `rendered` | `false` | `javax.el.ValueExpression` (must evaluate to `boolean`) | Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. The default value for this property is true.
  `rev` | `false` | `javax.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.
  `shape` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The shape of the hot spot on the screen (for use in client-side image maps). Valid values are: default (entire region); rect (rectangular region); circle (circular region); and poly (polygonal region).
  `standby` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Message to show while loading
  `style` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | CSS style(s) to be applied when this component is rendered.
  `styleClass` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Space-separated list of CSS style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup.
  `tabindex` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Position of this element in the tabbing order for the current document. This value must be an integer between 0 and 32767.
  `target` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Name of a frame where the resource retrieved via this hyperlink is to be displayed.
  `title` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Advisory title information about markup elements generated for this component.
  `type` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | The content type of the resource designated by this hyperlink.
  `uriAttribute` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Get URI attribute for resource ( src for images, href for links etc ).
  `usemap` | `false` | `javax.el.ValueExpression` (must evaluate to `java.lang.String`) | Specifies an image as a client-side image-map
  `value` | `false` | `javax.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.
  `vspace` | `false` | `javax.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

Output generated by Vdldoc View Declaration Language Documentation Generator.