[
https://issues.apache.org/jira/browse/MYFACES-3168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13065209#comment-13065209
]
Kennard Consulting commented on MYFACES-3168:
---------------------------------------------
Hi guys,
I have stumbled across something very similar to this issue, and have slightly
modified Matt's jsf-testing.zip to demonstrate.
Basically Matt was using his own composite component as the 'outer' component.
If he added pushComponentToEL to it, as Leonardo suggested, he could fix his
issue. But what if the 'outer' component is out of your control? In my case it
is an h:column. There is no opportunity to call pushComponentToEL on the
h:column, and calling it on the 'inner' component has no effect (as is to be
expected). Is there a workaround for this case?
Regards,
Richard.
> Bound attribute values resolve to NULL during PreRenderViewEvent for nested
> composite components
> ------------------------------------------------------------------------------------------------
>
> Key: MYFACES-3168
> URL: https://issues.apache.org/jira/browse/MYFACES-3168
> Project: MyFaces Core
> Issue Type: Bug
> Components: General
> Affects Versions: 2.0.6, 2.1.0
> Environment: Windows 7 x64 Enterprise.
> JDK 1.6.0_25.
> Eclipse Version: Helios Service Release 2
> Build id: 20110218-0911
> Reporter: MAtthew Sweeney
> Assignee: Leonardo Uribe
> Attachments: jsf-testing-2.zip, jsf-testing-myfaces.zip,
> screenshot-1.jpg
>
>
> When nesting custom composite components, any data bound attributes (eg
> #{someValueExpression} ) will resolve to null during the PreRenderViewEvent.
> This only occurs on the second level or deeper nested component (the
> top-level component in the page works fine).
> This same issue occurs on JSF RI 2.0.4, 2.1.x, 2.2.x
> I have an eclipse project for upload that reproduces the problem.
> I have no cause for the issue at this time.
> Cheers,
> Matt
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira