Author: vkorluzhenko
Date: 2007-07-16 05:26:06 -0400 (Mon, 16 Jul 2007)
New Revision: 1626
Modified:
trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml
trunk/docs/userguide/en/src/main/docbook/modules/RFCfaq.xml
Log:
http://jira.jboss.com/jira/browse/RF-389
http://jira.jboss.com/jira/browse/RF-391
Modified: trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml 2007-07-14 02:08:04
UTC (rev 1625)
+++ trunk/docs/userguide/en/src/main/docbook/included/modalPanel.xml 2007-07-16 09:26:06
UTC (rev 1626)
@@ -241,6 +241,9 @@
</para>
<programlisting
role="JAVA">onshow="alert(event.parameters.param1)"</programlisting>
<para> Here, during modalPanel opening the value of a passing parameter is
output. </para>
+ <para> More information about this problem could be found on the <ulink
+
url="http://www.jboss.com/index.html?module=bb&op=viewtopic&...
+ >RichFaces Development Forum</ulink>.</para>
<para>
There is a possibility to restore of the previous component state on a page (including
position on the screen) after submitting and reloading.
The modalPanel has some special attributes like 'showWhenRendered' and
'keepVisualState'.
Modified: trunk/docs/userguide/en/src/main/docbook/modules/RFCfaq.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/modules/RFCfaq.xml 2007-07-14 02:08:04 UTC
(rev 1625)
+++ trunk/docs/userguide/en/src/main/docbook/modules/RFCfaq.xml 2007-07-16 09:26:06 UTC
(rev 1626)
@@ -80,6 +80,9 @@
<para>Source Code (SVN) can be found <ulink
url="http://anonsvn.jboss.org/repos/richfaces/trunk/richfaces-sample...
here</ulink>.</para>
+
<para>See also <ulink
+
url="http://www.jboss.com/index.html?module=bb&op=viewtopic&...
+ >how to prevent richfaces-demo deployment
failed</ulink>.</para>
</section>
<section>
@@ -351,6 +354,14 @@
</rich:modalPanel>
...
]]></programlisting>
+ <para>
+ <note>
+ <title>Note:</title>Two rules are important
for modalPanel:
+ <itemizedlist>
+ <listitem>modalPanel must have its own form if it
has form elements (input or/and command components) inside (as it was shown in the example
above) </listitem>
+ <listitem>modalPanel must not be included into the
form (on any level up) if it has the form inside.</listitem>
+ </itemizedlist></note>
+ </para>
</section>
<section>