[ https://issues.apache.org/jira/browse/TOBAGO-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578556#action_12578556 ]
Martin Marinschek commented on TOBAGO-466: ------------------------------------------ Hi Bernd, finally I got time to look at this solution ;) What I like: it is really simple What I don't like: - you have to explicitly define the signature in the attribute-handler - what with more generic methods? I'd rather configure this somewhere in the composite... regards, Martin > Extend AttributeHandler for handling methodexpression in a facelet composition > ------------------------------------------------------------------------------ > > Key: TOBAGO-466 > URL: https://issues.apache.org/jira/browse/TOBAGO-466 > Project: MyFaces Tobago > Issue Type: Improvement > Components: Facelets > Reporter: Bernd Bohmann > Assignee: Bernd Bohmann > Fix For: 1.0.12 > > > In a facelets composition a method expression as an argument did not work. > <ui:composition... > <tc:label .../> > <tc:in /> > <tc:button action="${action}" actionListener="${actionListener}" /> > </ui:composition> > instead you can use the attribute tag > <tc:button> > <tc:attribute name="action" value="${action}" /> > </tc:button> > the attribute tag evaluate the value expression and create if required a > method expression from the value of the expression. > If the value is not a value expression the attribute tag create the method > expression directly. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.