[
https://issues.apache.org/jira/browse/MYFACES-4006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14628184#comment-14628184
]
Christian Kalkhoff commented on MYFACES-4006:
---------------------------------------------
One more note: If i use a string as parameter it works. When I use some more
complex object, the method is called with null. If I use the EL outside the
composite component's attribute, it works.
> EL in Composite Component Attribut gets no access to bound params from
> <ui:param>
> ---------------------------------------------------------------------------------
>
> Key: MYFACES-4006
> URL: https://issues.apache.org/jira/browse/MYFACES-4006
> Project: MyFaces Core
> Issue Type: Bug
> Affects Versions: 2.2.8
> Environment: Fedora 22, TomEE 1.7.2
> Reporter: Christian Kalkhoff
>
> I have a facelets snippet that uses a composite component:
> >>> index.xhtml
> <ui:include src="foo.xhtml">
> <ui:param name="bar" value="baz" />
> </ui:include>
> >>> foo.xhtml
> #{myBean.someMethod(bar)} calls someMethod with "baz"
> <sc:someComponent someattribute="#{myBean.someMethod(bar)}" /> calls
> someMethod with null
> I guess that the EL in composites is evalutated too early or the binding is
> not submitted correctly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)