Method parameters only work on 'top-level' managed beans
--------------------------------------------------------
Key: MYFACES-3410
URL: https://issues.apache.org/jira/browse/MYFACES-3410
Project: MyFaces Core
Issue Type: Bug
Environment: MyFaces 2.1.4, Tomcat 7.0.21 (also tried JBoss AS 7)
Reporter: Kennard Consulting
When using JSF 2's 'method parameters' feature:
#{fooBean.add(42)}
The evaluation fails when trying on a child object:
#{fooBean.foo.add(42)}
As a workaround you can use:
<ui:param name="_foo" value="#{fooBean.foo}"/>
#{_foo.add(42)}
But this seems like it should work without needing ui:param?
See attached test case.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira