Just do it in plain HTML.
<form method="post" action="http://some.other.site/action">
<input type="text" value="${someProperty}" />
<input type="submit" />
</form>
Uli
Am 10.11.2009 15:42 schrieb Jack Nuzbit:
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 <mluse...@gmail.com> wrote:
On Tue, Nov 10, 2009 at 12:08 PM, Jack Nuzbit <fnuz...@googlemail.com>
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: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org