You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2007/01/23 23:16:38 UTC

svn commit: r499155 - /myfaces/tobago/trunk/src/site/fml/faq.fml

Author: bommel
Date: Tue Jan 23 14:16:37 2007
New Revision: 499155

URL: http://svn.apache.org/viewvc?view=rev&rev=499155
Log:
added fileupload faq

Modified:
    myfaces/tobago/trunk/src/site/fml/faq.fml

Modified: myfaces/tobago/trunk/src/site/fml/faq.fml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/src/site/fml/faq.fml?view=diff&rev=499155&r1=499154&r2=499155
==============================================================================
--- myfaces/tobago/trunk/src/site/fml/faq.fml (original)
+++ myfaces/tobago/trunk/src/site/fml/faq.fml Tue Jan 23 14:16:37 2007
@@ -87,8 +87,21 @@
       </answer>
     </faq>
 
+    <faq id="tobago/fileupload">
+      <question>How do I configure fileupload in Tobago?</question>
+      <answer>
+        <p>You have two options.</p>
+        <p>Add a TobagoMultipartFormdataFilter to your web.xml.
+        <a href="http://myfaces.apache.org/tobago/apidocs/org/apache/myfaces/tobago/webapp/TobagoMultipartFormdataFilter.html">Javadoc Description</a> 
+        </p>
+        <p>Add the tobago-fileupload.jar to your project.
+           The tobago-fileupload.jar contains a FacesContextFactory that wraps the
+            multipart-formdata request inside the FacesContext.</p>
+      </answer>
+    </faq>
+
     <faq id="tobago/form">
-      <question>Why do I not need a form tag in a normal case in Tobago?</question>
+      <question>Why I don't need a form tag in a normal case in Tobago?</question>
       <answer>
         <p>The page tag is a form tag. You need a form tag for partial validation of your data.
         Please look at the forms example in the