[
https://jira.jboss.org/jira/browse/RF-6079?page=com.atlassian.jira.plugin...
]
Nick Belaevski updated RF-6079:
-------------------------------
Affects: [Documentation (Ref Guide, User Guide, etc.)]
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
Assignee: Pavel Yaschenko
Fix For: 3.3.1
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 id but different
naming container path (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 name container 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