org.omnifaces.taghandler
Class MethodParam
java.lang.Object
javax.faces.view.facelets.TagHandler
org.omnifaces.taghandler.MethodParam
- All Implemented Interfaces:
- javax.faces.view.facelets.FaceletHandler
public class MethodParam
- extends javax.faces.view.facelets.TagHandler
This handler wraps a value expression that's actually a method expression by another value expression that returns a method expression
that gets the value of first value expression, which as "side-effect" executes the original method expression.
This somewhat over-the-top chain of wrapping is done so a method expression can be passed into a Facelet tag as parameter.
- Author:
- Arjan Tijms
Fields inherited from class javax.faces.view.facelets.TagHandler |
nextHandler, tag, tagId |
Constructor Summary |
MethodParam(javax.faces.view.facelets.TagConfig config)
|
Method Summary |
void |
apply(javax.faces.view.facelets.FaceletContext ctx,
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 |
MethodParam
public MethodParam(javax.faces.view.facelets.TagConfig config)
apply
public void apply(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent)
throws java.io.IOException
- Throws:
java.io.IOException