You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Arjun Vade (JIRA)" <de...@myfaces.apache.org> on 2013/03/08 11:10:13 UTC
[jira] [Commented] (TRINIDAD-2372) JSF2 implicit EL objects
#{component} and #{cc} are not resolved in some cases
[ https://issues.apache.org/jira/browse/TRINIDAD-2372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13596987#comment-13596987 ]
Arjun Vade commented on TRINIDAD-2372:
--------------------------------------
Summary of Changes made in the patch:
1) UIXComponent: Introduced a new utility function to update the current composite component and current component before broadcasting the event. The static method can be invoked by WrapperEvent(in this case) and by individual components that broadcast a new event during its Lifecycle processing.
2) UIXComponentBase: Added a check to broadcast implementation to verify the event's source and event's source composite parent component are the current component and current composite component respectively in FacesContext attribute maps javax.faces.component.CURRENT_COMPONENT_STACK and javax.faces.component.CURRENT_COMPOSITE_COMPONENT_STACK. If they are not, log it.
3) WrapperEvent: Introduced a new API to broadcast the wrapped event after updating the current & current composite component. This new API internally invokes the API added to UIXComponent.
4) Components: Invokes WrapperEvent's new API to broadcast the original wrapped event from the wrapper event.
> JSF2 implicit EL objects #{component} and #{cc} are not resolved in some cases
> ------------------------------------------------------------------------------
>
> Key: TRINIDAD-2372
> URL: https://issues.apache.org/jira/browse/TRINIDAD-2372
> Project: MyFaces Trinidad
> Issue Type: Bug
> Components: Components, Facelets
> Affects Versions: 2.1.0-core
> Reporter: Arjun Vade
> Fix For: 2.1.0-core
>
> Attachments: 12733644_trinidad.patch
>
>
> Trinidad components while broadcasting the wrapped event from the WrapperEvent do not update the current component and current composite component. This results in non resolution of implicit EL objects #{component} and #{cc}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira