Hi All,
            Well I really need help on giving a default filter for "gif"
files to be shown click of the "browse" button for the File type attribute
in the input tag.
I have my html code like this:
<td> <input type="file" jwcid="upload1" name="upload1"/></td>
 
And in .page file:
<component id="upload1" type="Upload">
            <binding name="file" value="file1"/>
</component>
 
the functionality I want is similar to when we give accept="image/gif" in
the input tag in normal html. I have tried putting in my previous code like 
<td> <input type="file" jwcid="upload1" name="upload1" accept="image/gif"
/></td>
 
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
 

Reply via email to