Understood.  However, if the value used to populate the field is on the
value stack, the input will be populated with the value on validation
failure, except in this case it seems as the data necessary to
repopulate is not available.

Derrick

-----Original Message-----
From: Dave Newton [mailto:newton.d...@yahoo.com] 
Sent: Tuesday, January 06, 2009 11:54 AM
To: Struts Users Mailing List
Subject: Re: file upload file location lost on validation failure

Derrick Koes wrote:
> Using the demo app (struts2-showcase-2.0.14/fileupload) and entering
an
> empty file, for example, will correctly cause validation to fail.
> However, the file location disappears from the input.
> 
> Is this as designed?

Do you mean in the file input field? If so, that's normal browser
behavior.

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to