Author: artdaw
Date: 2008-04-09 12:32:29 -0400 (Wed, 09 Apr 2008)
New Revision: 7712
Modified:
trunk/docs/faq/en/src/main/docbook/module/RFCfaq.xml
Log:
http://jira.jboss.com/jira/browse/RF-1207 - Seam Filter conf added
Modified: trunk/docs/faq/en/src/main/docbook/module/RFCfaq.xml
===================================================================
--- trunk/docs/faq/en/src/main/docbook/module/RFCfaq.xml 2008-04-09 16:21:48 UTC (rev
7711)
+++ trunk/docs/faq/en/src/main/docbook/module/RFCfaq.xml 2008-04-09 16:32:29 UTC (rev
7712)
@@ -879,9 +879,9 @@
<property><a4j:commandLink onclick="var
myControl=this;"
oncomplete="anotherFunction(myControl)"/></property>
</emphasis>). </para>
- <important>
- <title>New:</title>
- <para> The onComplete syntax now is: </para>
+ <tip>
+ <title>Tip:</title>
+ <para>The onComplete syntax now is:</para>
<programlisting role="XML">
<![CDATA[<someAjaxActionComponent
...oncomplete="myFunc(req,event,data)".../>]]>
</programlisting>
@@ -890,7 +890,7 @@
the element instead of this. and
<property>data</property> is a
variable that contains deserialized value from the
<property>data</property> attribute.
</para>
- </important>
+ </tip>
</section>
<section id="InvokeOnComponentUsingWithJSF1.2">
<?dbhtml
filename="InvokeOnComponentUsingWithJSF1.2.html"?>
@@ -2284,4 +2284,33 @@
Adding feature with exclusion makes it possible to use Prototype
with version less than 1.6.0. This will break some of the components.</para>
</section>
+
+ <section id="fileUploadConf">
+ <?dbhtml filename="FileUploadConf.html"?>
+ <title><rich:fileUpload> with Seam</title>
+ <para>
+ The <emphasis
role="bold"><property><rich:fileUpload></property></emphasis>
component could work together with Seam framework.
+ </para>
+ <para>
+ Initialization parameters should be defined for Seam Filter in
<property>web.xml</property>.
+ They will be automatically set up for Ajax4Jsf Filer by Seam
framework on start up.
+ </para>
+ <para>
+ <emphasis role="bold">Example:</emphasis>
+ </para>
+ <programlisting role="XML"><![CDATA[...
+<filter>
+ <filter-name>Seam Filter</filter-name>
+ <filter-class>org.jboss.seam.servlet.SeamFilter</filter-class>
+ <init-param>
+ <param-name>createTempFiles</param-name>
+ <param-value>true</param-value>
+ </init-param>
+ <init-param>
+ <param-name>maxRequestSize</param-name>
+ <param-value>200000</param-value>
+ </init-param>
+</filter>
+...]]></programlisting>
+ </section>
</chapter>