Add parameterless method Richfaces.hideTopModalPanel()
------------------------------------------------------
Key: RF-6079
URL:
https://jira.jboss.org/jira/browse/RF-6079
Project: RichFaces
Issue Type: Feature Request
Components: docs updated
Affects Versions: 3.2.2
Reporter: Francisco Jose Peredo Noguez
Assignee: Tsikhon Kuprevich
Fix For: 3.3.1
Original Estimate: 2 hours
Remaining Estimate: 2 hours
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: