com.logicaldoc.web.util
Class CompositeControlHandler
java.lang.Object
com.sun.facelets.tag.TagHandler
com.logicaldoc.web.util.CompositeControlHandler
- All Implemented Interfaces:
- com.sun.facelets.FaceletHandler
public class CompositeControlHandler
- extends com.sun.facelets.tag.TagHandler
This handler is used for a custom tags that helps in creating new facelets
when you need to pass method expressions. The problem with facelets is that
the user tag handler of facelets always creates ValueExpression objects for
each attribute in the source tag.
You can configure this tag through the attribute methodBinfings for example:
<ldoc:compositeControl methodBindings="action=java.lang.String;
actionListener=void javax.faces.event.ActionEvent;">
....
</ldoc:compositeControl>
In this case attributes 'action' and 'actionListener' will be considered
method expressions instead of value expressions
- Since:
- 3.5
- Version:
- $Id:$
- Author:
- Marco Meschieri
Fields inherited from class com.sun.facelets.tag.TagHandler |
nextHandler, tag, tagId |
Method Summary |
void |
apply(com.sun.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent)
|
Methods inherited from class com.sun.facelets.tag.TagHandler |
findNextByType, getAttribute, getRequiredAttribute, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CompositeControlHandler
public CompositeControlHandler(com.sun.facelets.tag.TagConfig config)
- Parameters:
config
-
apply
public void apply(com.sun.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent)
throws java.io.IOException,
javax.faces.FacesException,
com.sun.facelets.FaceletException,
javax.el.ELException
- Throws:
java.io.IOException
javax.faces.FacesException
com.sun.facelets.FaceletException
javax.el.ELException
- See Also:
FaceletHandler.apply(com.sun.facelets.FaceletContext,
javax.faces.component.UIComponent)
Copyright © 2008-2010 Logical Objects. All Rights Reserved.