Author: atsebro
Date: 2008-05-30 12:47:22 -0400 (Fri, 30 May 2008)
New Revision: 8848
Modified:
trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml
Log:
RF-3495--modal panel in dev guide
Modified: trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml 2008-05-30 14:29:37
UTC (rev 8847)
+++ trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml 2008-05-30 16:47:22
UTC (rev 8848)
@@ -133,7 +133,7 @@
<title>Important:</title>
<para>In order to avoid a bug in IE, the root node of the dialog is moved on
the top of a DOM
tree. However, you should have a separate form inside the modal panel if you want
to perform
- submits from this panel. </para>
+ submits from this panel (so, no form should be around the modal panel in this
case).</para>
</important>
<para>It's possible to add a
<emphasis><property>"header"</property></emphasis>
facet to the component to set
@@ -144,7 +144,6 @@
<emphasis role="bold">Example:</emphasis>
</para>
<programlisting role="XML"><![CDATA[...
-<form jsfc="h:form" id="form">
<rich:modalPanel id="panel" width="400"
height="300">
<f:facet name="header">
<h:outputText value="Modal Panel"/>
@@ -153,7 +152,6 @@
<a
href="javascript:Richfaces.hideModalPanel('form:panel')">Close</a>
</rich:modalPanel>
<a
href="javascript:Richfaces.showModalPanel('form:panel');">Open</a>
-</form>
...]]></programlisting>
<para>This defines a window with a particular size and ID. It includes one
"Open" link. Clicking
Show replies by date