[richfaces-issues] [JBoss JIRA] Updated: (RF-6080) Richfaces.hideModalPanel should be aware of naming containers

Francisco Jose Peredo Noguez (JIRA) jira-events at lists.jboss.org
Fri Feb 6 17:59:44 EST 2009


     [ https://jira.jboss.org/jira/browse/RF-6080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Francisco Jose Peredo Noguez updated RF-6080:
---------------------------------------------

    Attachment: modalPanel-extensions.js


Example of workaround code

> Richfaces.hideModalPanel should be aware of naming containers
> -------------------------------------------------------------
>
>                 Key: RF-6080
>                 URL: https://jira.jboss.org/jira/browse/RF-6080
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.2
>            Reporter: Francisco Jose Peredo Noguez
>         Attachments: modalPanel-extensions.js
>
>
> This bug is similar to RF-6039, but has a different root cause, because Richfaces.hideModalPanel  does not use IComponent.findComponent() to find the component that it needs to close, but the problem pretty much the same, Richfaces.hideModalPanel  uses Richfaces.findModalPanel to find the modal panel it needs to close, but Richfaces.findModalPanel is unaware of the naming containers of the control that is triggering the call, so it will try to close the first matching modalPanel (even if it not visible, or is not the top level panel)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list