iling List
Subject: Re: file upload file location lost on validation failure
Derrick Koes wrote:
> There is a value attribute on the file tag from which you can preset
the
> value according to docs.
>
> http://struts.apache.org/2.0.14/docs/file.html
>
> It seems like the value
Derrick Koes wrote:
There is a value attribute on the file tag from which you can preset the
value according to docs.
http://struts.apache.org/2.0.14/docs/file.html
It seems like the value could be "updated" from the user input, if the
input data is available.
File input values cannot be prel
ave Newton [mailto:newton.d...@yahoo.com]
Sent: Tuesday, January 06, 2009 12:29 PM
To: Struts Users Mailing List
Subject: Re: file upload file location lost on validation failure
Derrick Koes wrote:
> Understood. However, if the value used to populate the field is on
the
> value stack, t
Derrick Koes wrote:
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.
I think we're talking past each other--fi
[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 cor
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 bro
6 matches
Mail list logo