Thanks Massimo but I'm trying to do it the other way around (if I've understood you correctly). I am hosting the form on a tapestry site which I need to post to an external non-tapestry site. The problem is that in using tapestry components I can't set the action attribute of the form to post to this external site. The form component will override any action I define.
On Tue, Nov 10, 2009 at 1:53 PM, Massimo Lusetti <[email protected]> wrote: > On Tue, Nov 10, 2009 at 12:08 PM, Jack Nuzbit <[email protected]> > wrote: > > > Hi All, > > I've got a rather complex form that I'd like to use the tapestry form > > components to initialise but it needs to post externally. > > Is there a way to do this with tapestry? Form components require a > > surrounding t:form element which then overrides the action. I can't see > any > > way around this without some javascript hack or avoiding tapestry > components > > completely. > > If you want to use the form component simply code the t:formdata > parameter in your post request then set parameter as usual then you > can get T5 do the rest and you can process the form the T5-way. > > Till you don't change the tml of the form you're safe. > > Cheers > -- > Massimo > http://meridio.blogspot.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
