Project Documentation
Foundation

Summary

Tag name: <s:media>
UIComponent class: org.apache.myfaces.custom.media.MediaComponent
Tag class: org.apache.myfaces.custom.media.MediaTag
Component type: org.apache.myfaces.media
Component family: org.apache.myfaces.media
Renderer type: org.apache.myfaces.media
Renderer class: org.apache.myfaces.custom.media.MediaRenderer

Attributes

Name Type Supports EL? Description
binding org.apache.myfaces.custom.media.MediaComponent Only EL Identifies a backing bean property (of type UIComponent or appropriate subclass) to bind to this component instance. This value must be an EL expression.
contentType String Yes Determines the media content type.
height String Yes Integer to indicate the media height.
id String Yes Get a string which uniquely identifies this UIComponent within the scope of the nearest ancestor NamingContainer component. The id is not necessarily unique across all components in the current view.
rendered boolean Yes A boolean value that indicates whether this component should be rendered. Default value: true.
source String Yes Determines the path of the media file.
width String Yes Integer to indicate the media weight.