How to evaluate MethodExpressions in JSF composite components
问题 I am not sure about the "correct" way to deal with method expressions in composite components. My composite uses a backing class with action methods. Theses perform some default actions or delegate to an action method passed by the composite user as an attribute: In using page: <my:component action="#{myBean.actionMethod}" /> Composite: <cc:interface componentType="mycomponentType"> <cc:attribute name="action" method-signature="java.lang.String action()" required="false" /> </cc:interface>