[richfaces-issues] [JBoss JIRA] Created: (RF-6079) Add parameterless method Richfaces.hideTopModalPanel()

Francisco Jose Peredo Noguez (JIRA) jira-events at lists.jboss.org
Fri Feb 6 12:48:54 EST 2009


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 (a problem similar to RF-6039). 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.

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