org.apache.myfaces.html5.handler
Class MediaSourcesHandler

java.lang.Object
  extended by javax.faces.view.facelets.TagHandler
      extended by org.apache.myfaces.html5.handler.MediaSourcesHandler
All Implemented Interfaces:
javax.faces.view.facelets.FaceletHandler

@JSFFaceletTag(name="fx:mediaSources")
public class MediaSourcesHandler
extends javax.faces.view.facelets.TagHandler

Provides media sources for media components. This should be nested inside of an instance of MediaSourceHolder . Gets MediaInfo instances and adds them to parent component's media info set.

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

Author:
Ali Ok
See Also:
MediaSourceHolder

Field Summary
 
Fields inherited from class javax.faces.view.facelets.TagHandler
nextHandler, tag, tagId
 
Constructor Summary
MediaSourcesHandler(javax.faces.view.facelets.TagConfig config)
           
 
Method Summary
 void apply(javax.faces.view.facelets.FaceletContext faceletContext, javax.faces.component.UIComponent parent)
           
 
Methods inherited from class javax.faces.view.facelets.TagHandler
getAttribute, getRequiredAttribute, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MediaSourcesHandler

public MediaSourcesHandler(javax.faces.view.facelets.TagConfig config)
Method Detail

apply

public void apply(javax.faces.view.facelets.FaceletContext faceletContext,
                  javax.faces.component.UIComponent parent)
           throws IOException
Throws:
IOException


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.