To enable java scripting first instaed of writing <body> in html use "Body"
component and then your components will be java script enabled.

If you can tell me jwcid="upload1"        to which component the upload1 is
mapped I may be able to help little bit.




Muralidhar Y
Software Engineer,
Adastrum technologies-Nikai groups,
EmiratesGroup-I.T Division,
Dubai, UAE.
Mobile : 00971-50-2256149.
http://www.adastrumtech.com
http://www.mercator.aero  
(Keep Smiling. Be happy All The Time.)

-----Original Message-----
From: Anjali Abraham [mailto:[EMAIL PROTECTED] 
Sent: 06 October 2005 14:06
To: tapestry-user@jakarta.apache.org
Subject: Need help

Hi All,
            I have a scenario wherein in my html, I have a code something
like this:
<input type="file" jwcid="upload1" name="upload1"/>
            
            I have a requirement of giving a filter to only .gif files can
be shown by default to the dialog box which get opened on click of "browse"
button of the type file. For that to do I need to modify my above html code
to something like this:
<input type="file" jwcid="upload1" name="upload1" accept="image/gif"/>
            But here there is a problem, as in my input tag I am using
jwcid, I ignores all the attributes particular to html's.
 
            That's the reason we need to enable javascripting for these
tags. How to do the same.......???????
 
            How can I achieve the same "accept" attribute functionality
through Tapestry4...????????
 
Please respond with reply,
Thanks in advance,
 
Regards,
Anjali
 

Reply via email to