Author: pyaschenko
Date: 2008-03-17 10:13:17 -0400 (Mon, 17 Mar 2008)
New Revision: 6854
Modified:
trunk/samples/calendar-sample/src/main/webapp/pages/Calendar.jsp
Log:
RF-2359
Modified: trunk/samples/calendar-sample/src/main/webapp/pages/Calendar.jsp
===================================================================
--- trunk/samples/calendar-sample/src/main/webapp/pages/Calendar.jsp 2008-03-17 14:11:39
UTC (rev 6853)
+++ trunk/samples/calendar-sample/src/main/webapp/pages/Calendar.jsp 2008-03-17 14:13:17
UTC (rev 6854)
@@ -4,6 +4,7 @@
<%@ taglib
uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib
uri="http://richfaces.org/a4j" prefix="a4j" %>
<%@ taglib
uri="http://labs.jboss.com/jbossrichfaces/ui/calendar"
prefix="calendar" %>
+<%@ taglib
uri="http://labs.jboss.com/jbossrichfaces/ui/modal-panel"
prefix="mp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
@@ -182,9 +183,29 @@
<f:verbatim><br /></f:verbatim>
<h:commandButton value="Submit"/>
+
+ <hr/>
+ <mp:modalPanel id="_panel" showWhenRendered="false"
left="300" top="300" >
+ <f:facet name="header">
+ <f:verbatim>
+ Header
+ </f:verbatim>
+ </f:facet>
+
+ <f:facet name="controls">
+ <f:verbatim>
+ <a href="#"
onclick="Richfaces.hideModalPanel('_panel');">close</a>
+ </f:verbatim>
+ </f:facet>
+
+ <calendar:calendar popup="true" />
+ </mp:modalPanel>
+
+ <f:verbatim>
+ <input type="button" value="Show Modal Panel Bug"
onclick="Richfaces.showModalPanel('_panel');"></input>
+ </f:verbatim>
-
</h:form>
</f:view>
</body>