Html5 Support for Apache MyFaces
Project Documentation
Foundation

Summary

Facelet Tag name: <fx:mediaSources>
Facelet Tag class: org.apache.myfaces.html5.handler.MediaSourcesHandler
Provides media sources for media components. This should be nested inside of an instance of {@link MediaSourceHolder} . Gets {@link MediaInfo} instances and adds them to parent component's media info set.

If 'disabled' is set to true, {@link MediaInfo} instances of "items" attribute will not be added.

Attributes

Name Type Required Description
disabled javax.el.ValueExpression false If set to true, {@link MediaInfo} instances of "items" attribute will not be added.
items javax.el.ValueExpression true Array/collection of {@link MediaInfo} instances to use in media elements. This attribute is required.