You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (Created) (JIRA)" <de...@myfaces.apache.org> on 2011/10/27 18:10:32 UTC
[jira] [Created] (MYFACES-3378) UIComponent.setParent does not
propagate setInView() call when processingEvents is false
UIComponent.setParent does not propagate setInView() call when processingEvents is false
----------------------------------------------------------------------------------------
Key: MYFACES-3378
URL: https://issues.apache.org/jira/browse/MYFACES-3378
Project: MyFaces Core
Issue Type: Bug
Components: JSR-314
Reporter: Leonardo Uribe
Assignee: Leonardo Uribe
Priority: Minor
When PSS is disabled, the algorithm to restore view state disable event processing, but that cause setInView() is not called. Later, when a dynamic component is added using c:if, since setInView is false, PostAddToViewEvent is not called. With PSS enabled everything works well.
The solution is when processing events is disabled, call another method that does not propagate the event but call setInView.
--
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
[jira] [Resolved] (MYFACES-3378) UIComponent.setParent does not
propagate setInView() call when processingEvents is false
Posted by "Leonardo Uribe (Resolved) (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/MYFACES-3378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leonardo Uribe resolved MYFACES-3378.
-------------------------------------
Resolution: Fixed
Fix Version/s: 2.1.4
2.0.10
> UIComponent.setParent does not propagate setInView() call when processingEvents is false
> ----------------------------------------------------------------------------------------
>
> Key: MYFACES-3378
> URL: https://issues.apache.org/jira/browse/MYFACES-3378
> Project: MyFaces Core
> Issue Type: Bug
> Components: JSR-314
> Reporter: Leonardo Uribe
> Assignee: Leonardo Uribe
> Priority: Minor
> Fix For: 2.0.10, 2.1.4
>
>
> When PSS is disabled, the algorithm to restore view state disable event processing, but that cause setInView() is not called. Later, when a dynamic component is added using c:if, since setInView is false, PostAddToViewEvent is not called. With PSS enabled everything works well.
> The solution is when processing events is disabled, call another method that does not propagate the event but call setInView.
--
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