I have tried putting in my previous code like
<td> <input type="file" jwcid="upload1" name="upload1" accept="image/gif"
/></td>
What is the generated html when you try this?
If you look at it, you'll see that the accept attribute is included.
However, from what I've read and from the tests I've made, it seems that
this
attribute is NOT well supported by IE,Firefox, Mozilla
Some sites advice that ,since this kind of filtering is not really
supported,
one should use javascript to validate that the correct file type has
been selected.
Take a look at this previous post (
http://article.gmane.org/gmane.comp.java.tapestry.user/26841/ )
for a way to do this.
But due to some reasons, its ignoring that accept="image/gif" feature of
html... how can I achieve the same functionality through tapestry....
Please respond with solution,
Thanks in advance,
Regards,
Anjali
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]