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

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

The attached file creates a new function findVisibleModalPanel that only finds 
those modalPanels that are visible, this works as a temporary workaround, but I 
do not think this should be the right final solution

> 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

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to