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 preloaded. This is a browser issue and has
nothing to do with Struts.
There's a "value" attribute because the tag is extended from a bean that
has a "value" property; that doesn't necessarily mean it's meaningful
once it gets to the HTML level, and since HTML file input elements are
one of the only elements that don't allow pre-loading it's arguable that
it doesn't make sense to create a bean without the "value" property just
for it, particularly since it's well-known they can't be pre-loaded.
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org