RE: file upload file location lost on validation failure

2009-01-06 Thread Derrick Koes
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

Re: file upload file location lost on validation failure

2009-01-06 Thread Dave Newton
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

RE: file upload file location lost on validation failure

2009-01-06 Thread Derrick Koes
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

Re: file upload file location lost on validation failure

2009-01-06 Thread Dave Newton
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

RE: file upload file location lost on validation failure

2009-01-06 Thread Derrick Koes
[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

Re: file upload file location lost on validation failure

2009-01-06 Thread Dave Newton
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