Author: nbelaevski
Date: 2008-04-15 13:03:14 -0400 (Tue, 15 Apr 2008)
New Revision: 7846
Modified:
branches/3.1.x/samples/modalpanel-sample/src/main/webapp/pages/index.jsp
Log:
http://jira.jboss.com/jira/browse/RF-3078
http://jira.jboss.com/jira/browse/RF-2366
Modified: branches/3.1.x/samples/modalpanel-sample/src/main/webapp/pages/index.jsp
===================================================================
--- branches/3.1.x/samples/modalpanel-sample/src/main/webapp/pages/index.jsp 2008-04-15
17:03:10 UTC (rev 7845)
+++ branches/3.1.x/samples/modalpanel-sample/src/main/webapp/pages/index.jsp 2008-04-15
17:03:14 UTC (rev 7846)
@@ -104,8 +104,10 @@
<f:verbatim>
<a
href="javascript:Richfaces.showModalPanel('_form:_panel2');">Show 2nd
panel</a>
+ <div style="width: 700px; height: 700px; border: 1px solid
red;">I'm big DIV</div>
</f:verbatim>
+
<mp:modalPanel height="200" top="100" width="450"
id="_panel2" controlsClass="pointerCursor" zindex="500">
<f:facet name="header">
<f:verbatim>
@@ -149,6 +151,7 @@
<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>
+ <a href="javascript:Richfaces.showModalPanel('eventInfoID', {width:
1100, height: 700});">Show big autosized panel</a>
</f:verbatim>
@@ -162,7 +165,7 @@
</f:facet>
- <h:outputText
value="Eventsaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
..." />
+ <h:outputText
value="Eventsaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa ..." />
</mp:modalPanel>
</h:panelGrid>