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

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


    [ https://jira.jboss.org/jira/browse/RF-6080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12451588#action_12451588 ] 

Francisco Jose Peredo Noguez commented on RF-6080:
--------------------------------------------------

A possible short-term could be to alter Richfaces.hideModalPanel  so that instead of using Richfaces.findModalPanel used a new method named: Richfaces.findVisibleModalPanel, that way it will not get "distracted" by any other currently not visible modalPanel (as it does now). 

> 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
>
> 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