Dear all,

I need a way to set the enctype of a form. Could anyone help me, plz.

I'm using tapestry form, and I fill in the controls within the components 
dynamically. (which is can contains <input type="file"/>)
That's why I need to set enctype="multipart/form-data" without using Tapestry's 
upload components.

I'm using Tapestry 4.0

Thanks,
Yohan

On 10 May 2006, Jesse Kuhnert wrote:
That is indeed odd.

If you can provide me a use case where you need the Form component to
support having the multipart attribute set ~not~ using the Upload component
I can be more helpful.

On 5/10/06, marcopar <[EMAIL PROTECTED]> wrote:
>
> The enctype is added but also the Upload stuff is added and that is not
> wanted.
>
> ciao
>
>
> In data Wed, 10 May 2006 08:26:10 -0400, Jesse Kuhnert ha scritto:
>
> > Try sticking an @Upload component in your form.
> >
> > On 5/10/06, marcopar <[EMAIL PROTECTED]> wrote:
> >>
> >> I need a way to set the enctype of a form, actually i've tried:
> >>
> >> <form jwcid="[EMAIL PROTECTED]" success="listener:doSubmit"
> >> enctype="multipart/form-data">
> >>
> >> but the enctype attribute is removed and looking at the documentation i
> >> can
> >> see that this attribute is reserved so no surprise... but what is the
> >> right
> >> way so?
> >>
> >> thank you
> >> ciao


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to