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

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

    Description: 
When doing heavy reutilization with multiple levels of subViews and 
ui:includes, the right id for the top modal panel is not easy to get, in fact 
Richfaces.hideModalPanel is unable to find it if there is another modalPanel 
with the same final name component (the problem described in RF-6080). For this 
cases it would be really helpful to have a shortcut way of closing the top 
modal panel.

For that I propose a method Richfaces.hideTopModalPanel() that looks for all 
the currently visible modalPanels and closes the one at the top, since it would 
not need to know the id, it will not be affected by nameContainer bugs.

  was:
When doing heavy reutilization with multiple levels of subViews and 
ui:includes, the right id for the top modal panel is not easy to get, in fact 
Richfaces.hideModalPanel is unable to find it if there is another modalPanel 
with the same final name component (the problem described in RF-6080). For this 
cases it would be really helful to have a shortcut way of closing the top modal 
panel.

For that I propose a method Richfaces.hideTopModalPanel() that looks for all 
the currently visible modalPanels and closes the one at the top, since it would 
not need to know the id, it will not be affected by nameContainer bugs.



> Add parameterless method Richfaces.hideTopModalPanel()
> ------------------------------------------------------
>
>                 Key: RF-6079
>                 URL: https://jira.jboss.org/jira/browse/RF-6079
>             Project: RichFaces
>          Issue Type: Feature Request
>    Affects Versions: 3.2.2
>            Reporter: Francisco Jose Peredo Noguez
>
> When doing heavy reutilization with multiple levels of subViews and 
> ui:includes, the right id for the top modal panel is not easy to get, in fact 
> Richfaces.hideModalPanel is unable to find it if there is another modalPanel 
> with the same final name component (the problem described in RF-6080). For 
> this cases it would be really helpful to have a shortcut way of closing the 
> top modal panel.
> For that I propose a method Richfaces.hideTopModalPanel() that looks for all 
> the currently visible modalPanels and closes the one at the top, since it 
> would not need to know the id, it will not be affected by nameContainer bugs.

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