Author: mvitenkov
Date: 2008-04-17 08:46:11 -0400 (Thu, 17 Apr 2008)
New Revision: 7892
Modified:
branches/3.1.x/test-applications/jsp/src/main/webapp/ModalPanel/ModalPanel.jsp
Log:
MPanel calls from another MPanel
Modified: branches/3.1.x/test-applications/jsp/src/main/webapp/ModalPanel/ModalPanel.jsp
===================================================================
---
branches/3.1.x/test-applications/jsp/src/main/webapp/ModalPanel/ModalPanel.jsp 2008-04-17
12:26:38 UTC (rev 7891)
+++
branches/3.1.x/test-applications/jsp/src/main/webapp/ModalPanel/ModalPanel.jsp 2008-04-17
12:46:11 UTC (rev 7892)
@@ -33,10 +33,26 @@
<h:outputLink onclick="Richfaces.hideModalPanel('modalPanelID');return
false;" value="Close">
<f:verbatim>Close</f:verbatim>
</h:outputLink>
+ <rich:spacer height="10" width="10"></rich:spacer>
+ <h:outputLink onclick="Richfaces.showModalPanel('modalPanelID2');return
false;" value="Show">
+ <f:verbatim>Show 2nd MP</f:verbatim>
+ </h:outputLink>
+
</rich:modalPanel>
<a onclick="Richfaces.showModalPanel('modalPanelID');"
href="#">Show MP</a>
+ <rich:modalPanel id="modalPanelID2" height="200"
width="200" moveable="true">
+ <f:facet name="header">
+ <h:outputText value="Header of the 2nd modal panel" />
+ </f:facet>
+ <h:outputText value="Some text for the 2nd modal Panel" />
+ <rich:spacer height="10" width="10"></rich:spacer>
+ <h:outputLink onclick="Richfaces.hideModalPanel('modalPanelID2');return
false;" value="Close">
+ <f:verbatim>Close</f:verbatim>
+ </h:outputLink>
+ </rich:modalPanel>
+
<f:verbatim>
<br />
<br />
Show replies by date