Author: cluts
Date: 2008-10-01 05:35:03 -0400 (Wed, 01 Oct 2008)
New Revision: 10633
Modified:
trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml
Log:
RF-4511 - additional information is added
Modified: trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml 2008-10-01 09:18:18
UTC (rev 10632)
+++ trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml 2008-10-01 09:35:03
UTC (rev 10633)
@@ -73,9 +73,9 @@
...
<!--Any Content inside-->
...
-<a onclick="Richfaces.hideModalPanel('modalPanelID');"
href="#">Hide</a>
+<a onclick="Richfaces.hideModalPanel('modalPanelID');"
href="#">Hide</a>
</rich:modalPanel>
-<a onclick="Richfaces.showModalPanel('modalPanelID');"
href="#">Show</a>
+<a onclick="Richfaces.showModalPanel('modalPanelID');"
href="#">Show</a>
...
]]></programlisting>
</section>
@@ -235,6 +235,13 @@
</emphasis> and <emphasis>
<property>"minHeight"</property>
</emphasis> attributes specifying the minimal window
sizes.</para>
+ <para>
+ Also you can use <emphasis>
+
<property>"minWidth"</property>
+ </emphasis> and <emphasis>
+
<property>"minHeight"</property>
+ </emphasis> attributes used as
<code>showModalPanel()</code> arguments in JavaScript options.
+ </para>
<para> You can pass your parameters during modalPanel opening
or closing. This
passing could be performed in the following way:
</para>
@@ -311,19 +318,19 @@
</para>
<programlisting role="XML"><![CDATA[...
-<rich:modalPanel>
- <f:facet name="header">
- <h:outputText value="Test" />
- </f:facet>
- <f:facet name="controls">
- <h:commandLink value="Close" style="cursor:pointer"
onclick="Richfaces.hideModalPanel('mp')" />
- </f:facet>
- <h:form>
- <h:commandButton value="Test"
action="#{TESTCONTROLLER.test}" />
- </h:form>
+<rich:modalPanel>
+ <f:facet name="header">
+ <h:outputText value="Test" />
+ </f:facet>
+ <f:facet name="controls">
+ <h:commandLink value="Close" style="cursor:pointer"
onclick="Richfaces.hideModalPanel('mp')" />
+ </f:facet>
+ <h:form>
+ <h:commandButton value="Test"
action="#{TESTCONTROLLER.test}" />
+ </h:form>
</rich:modalPanel>
...
-<h:form>
+<h:form>
<!--Some other Page content-->
</h:form>
...]]></programlisting>
Show replies by date