Hi everybody,

I am trying to upload a file to GAE by using a tapestry form, but I can't
use tapestry 5 Upload component because it depends on a class writing to the
filesystem!
I need to set the contenttype of the form to "multipart/form-data" so I can
retrieve the file on the servlet(filter).

This is my example which does not work!

 <t:form   t:id="upload" t:contenttype="multipart/form-data" >

        <t:errors/>

        <t:beaneditor t:id="product" object="product" />

        <br/><br/>

        <input type="file" id="ga" name="file"/>


        <br/><br/>

        <input t:type="submit" t:id="button" t:value="message:button-label"
/>



    </t:form>


Is there any other form to change the content type of the  form here above?

Otherwise I'll have to use normal html form wich does not support: errors,
beaneditor en etc...


Cheers,

Fernando

Reply via email to