Author: ivaynberg
Date: Sat Aug 28 17:49:09 2010
New Revision: 990397

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

Modified:
    
wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/form/upload/FileUploadField.java

Modified: 
wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/form/upload/FileUploadField.java
URL: 
http://svn.apache.org/viewvc/wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/form/upload/FileUploadField.java?rev=990397&r1=990396&r2=990397&view=diff
==============================================================================
--- 
wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/form/upload/FileUploadField.java
 (original)
+++ 
wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/markup/html/form/upload/FileUploadField.java
 Sat Aug 28 17:49:09 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