Author: nbelaevski
Date: 2008-02-04 11:03:27 -0500 (Mon, 04 Feb 2008)
New Revision: 5786
Modified:
trunk/samples/modalpanel-sample/src/main/webapp/pages/index.jsp
Log:
http://jira.jboss.com/jira/browse/RF-2128
Modified: trunk/samples/modalpanel-sample/src/main/webapp/pages/index.jsp
===================================================================
--- trunk/samples/modalpanel-sample/src/main/webapp/pages/index.jsp 2008-02-04 16:03:22
UTC (rev 5785)
+++ trunk/samples/modalpanel-sample/src/main/webapp/pages/index.jsp 2008-02-04 16:03:27
UTC (rev 5786)
@@ -1,4 +1,5 @@
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
+
<!-- DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" -->
@@ -147,7 +148,23 @@
<a href="javascript:Richfaces.showModalPanel(':_panel', {left:
'120', top: 'auto'});">Show: left = 120; top = auto</a>
<a href="javascript:Richfaces.showModalPanel(':_panel', {top:
'auto', width: 800});">Show: width = 800; top = auto</a>
<a href="javascript:Richfaces.showModalPanel(':_panel', {width:
1});">Show: width = 1</a>
+ <a
href="javascript:Richfaces.showModalPanel('eventInfoID');">Show
autosized panel</a>
</f:verbatim>
+
+
+ <mp:modalPanel id="eventInfoID" autosized="true"
minHeight="550" minWidth="400" moveable="true"
style="overflow: true;">
+ <f:facet name="header">
+ <h:outputText value="Events..." />
+ </f:facet>
+
+ <f:facet name="controls">
+ <h:commandLink value="C"
onclick="Richfaces.hideModalPanel('eventInfoID'); return false;" />
+ </f:facet>
+
+
+ <h:outputText value="Eventsaaaaaaaaaaaaaaaa ..." />
+
+ </mp:modalPanel>
</h:panelGrid>
<%--