[
http://jira.jboss.com/jira/browse/JBSEAM-1913?page=comments#action_12408809 ]
Shane Fitzgibbon commented on JBSEAM-1913:
------------------------------------------
This is a facelets issue and not a SEAM bug. What you are trying to do is pass a Method
Binding to your facelets composition, however this is not supported as facelets will
always pass it as a ValueBinding to the composition.
Andrew Robinson has posted a blog entry on this at
http://andrewfacelets.blogspot.com/2006/06/creating-composite-controls-wi... and
he has described some facelets extensions that he has developed to allow the passing of
MethodBindings into facelet compositions/components.
Rick Hightower also mentioned this shortcoming of facelets in an article
(
http://www-128.ibm.com/developerworks/java/library/j-facelets/) where he provides a
workaround for the problem. See the "Passing Actions" section towards the end of
the article.
I hope this helps a little but you have probably moved on from this problem by now. At the
very least this issue could be closed.
EL with parameters not work in a <ui:composition> facelet
component
-------------------------------------------------------------------
Key: JBSEAM-1913
URL:
http://jira.jboss.com/jira/browse/JBSEAM-1913
Project: Seam
Issue Type: Bug
Components: EL
Affects Versions: 1.2.1.GA
Environment: Windows or Linux, Java 6, Tomcat 6.0.14
Reporter: Gilliard Cordeiro
Assigned To: Norman Richards
Fix For: 2.1.x
EL with parameters not work in a <ui:composition> facelet component. The value of
parameters is available in a <h:outputText>, for instance, but is null when
executing a Java action methods.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira