Author: ivaynberg
Date: Sat Aug 28 17:49:03 2010
New Revision: 990396

URL: http://svn.apache.org/viewvc?rev=990396&view=rev
Log:
javadoc

Modified:
    
wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/form/upload/FileUploadField.java

Modified: 
wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/form/upload/FileUploadField.java
URL: 
http://svn.apache.org/viewvc/wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/form/upload/FileUploadField.java?rev=990396&r1=990395&r2=990396&view=diff
==============================================================================
--- 
wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/form/upload/FileUploadField.java
 (original)
+++ 
wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/form/upload/FileUploadField.java
 Sat Aug 28 17:49:03 2010
@@ -30,6 +30,12 @@ import org.apache.wicket.util.upload.Fil
  * component is nested in a {...@link 
org.apache.wicket.markup.html.form.Form}, that has multipart ==
  * true, its model is updated with the {...@link 
org.apache.wicket.markup.html.form.upload.FileUpload}
  * for this component.
+ * <p>
+ * <strong>NOTE</strong>The model of this component is reset with {...@code 
null} at the end of the
+ * request because {...@link FileUpload} instances do not survive across 
requests since the input
+ * streams they point to will be closed. Because of this, the {...@link 
FileUpload} instance should be
+ * processed within the same request as the form containing it was submitted.
+ * </p>
  * 
  * @author Eelco Hillenius
  */


Reply via email to