The Any component is very useful for this kind of thing; it adapts to
whatever element you provide.  So <form jwcid="@Any"> will output a
<form> with any attributes you specify.  The attributes can be
literals or otherwise via binding prefixes.  Thus you can use Tapestry
to build a form that is submitted to a non-Tapestry application, which
I believe is your use case.

On 1/27/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
> If you are not submitting your form to a tapestry servlet, then why would
> you need to build the form using tapestry? You could as easily just use
> @Insert components to fill in a manual form's value with dynamic data and
> then send it wherever you like.
>
> On 1/27/06, malm <[EMAIL PROTECTED]> wrote:
> >
> > I need to be able to modify the action URL that a Form component
> > generates.
> > We are developing an application for a telco and they control the public
> > URL, which inturn calls our app server.
> > Example
> >
> >         http://pub.telco.com/check/public-app   ->
> > http://myserver.xxx.com/myapp/app
> >
> >         The <form jwcid="@Form"> .... Generates the following HTML
> >
> >         <form method="post" action="/myapp/app"> ....
> >
> >         I need it to generate
> >
> >         <form method="post" action="/check/public-app/app"> so that any
> > form
> > submits will be routed through the telco's application gateway.
> >
> >         I am using tapestry 4. Any help would be greatly appreciated.
> >
> > Thanks in Advance.
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>


--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

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

Reply via email to