RE: post a form to external website

2009-10-09 Thread Vadim Tesis

thanks, let me try that and see what happens
 
> Date: Sat, 19 Sep 2009 20:55:07 -0500
> Subject: Re: post a form to external website
> From: jer...@wickettraining.com
> To: users@wicket.apache.org; mcgreg...@e-card.bg
> 
> If you actually want to redirect them to the other site (with a post, and
> not just a get), you will just need to render a form and rely on javascript
> to auto-submit it for you (likely with a "click here if not redirected"
> link). The hidden fields could be rendered with attribute modifiers on
> webmarkupcontainers for example. Or you could use an actual form and
> override the action URL, but that's probably a little heavy-handed for this.
> 
> --
> Jeremy Thomerson
> http://www.wickettraining.com
> 
> 
> 
> On Fri, Sep 18, 2009 at 7:21 AM, Martin Grigorov wrote:
> 
> > El vie, 18-09-2009 a las 10:51 +, Vadim Tesis escribió:
> > > all,
> > >
> > >
> > >
> > > i have a form with some input fields. after the user populates the form
> > and hits submit button, i'd like to do some processing on my website and
> > then redirect the user to external website by posting another form with
> > dynamically generated hidden fields.
> > >
> > > what's the best way to do it in wicket 1.4?
> > There is no automatic Wicket way to do this.
> > You could forward the data with UrlConnection or apache-httpclient in
> > your onSubmit() callback method.
> > >
> > >
> > >
> > > Thanks,
> > >
> > > Vadim
> > >
> > > _
> > > Hotmail: Powerful Free email with security by Microsoft.
> > > http://clk.atdmt.com/GBL/go/171222986/direct/01/
> >
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
  
_
Hotmail: Powerful Free email with security by Microsoft.
http://clk.atdmt.com/GBL/go/171222986/direct/01/

Re: post a form to external website

2009-09-20 Thread Jeremy Thomerson
Yeah - that would be slick.

--
Jeremy Thomerson
http://www.wickettraining.com



On Sun, Sep 20, 2009 at 10:24 AM, Martin Grigorov wrote:

> thinking about this now I think it would be very elegant to first do
> Ajax submit and then in onSubmit() append a Javascript code to change
> the form's action (and the method too if needed) attribute and submit
> it.
>
> El sáb, 19-09-2009 a las 20:55 -0500, Jeremy Thomerson escribió:
> > If you actually want to redirect them to the other site (with a post, and
> > not just a get), you will just need to render a form and rely on
> javascript
> > to auto-submit it for you (likely with a "click here if not redirected"
> > link).  The hidden fields could be rendered with attribute modifiers on
> > webmarkupcontainers for example.  Or you could use an actual form and
> > override the action URL, but that's probably a little heavy-handed for
> this.
> >
> > --
> > Jeremy Thomerson
> > http://www.wickettraining.com
> >
> >
> >
> > On Fri, Sep 18, 2009 at 7:21 AM, Martin Grigorov  >wrote:
> >
> > > El vie, 18-09-2009 a las 10:51 +, Vadim Tesis escribió:
> > > > all,
> > > >
> > > >
> > > >
> > > > i have a form with some input fields.  after the user populates the
> form
> > > and hits submit button, i'd like to do some processing on my website
> and
> > > then redirect the user to external website by posting another form with
> > > dynamically generated hidden fields.
> > > >
> > > > what's the best way to do it in wicket 1.4?
> > > There is no automatic Wicket way to do this.
> > > You could forward the data with UrlConnection or apache-httpclient in
> > > your onSubmit() callback method.
> > > >
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > Vadim
> > > >
> > > > _
> > > > Hotmail: Powerful Free email with security by Microsoft.
> > > > http://clk.atdmt.com/GBL/go/171222986/direct/01/
> > >
> > >
> > > -
> > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > > For additional commands, e-mail: users-h...@wicket.apache.org
> > >
> > >
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: post a form to external website

2009-09-20 Thread Martin Grigorov
thinking about this now I think it would be very elegant to first do
Ajax submit and then in onSubmit() append a Javascript code to change
the form's action (and the method too if needed) attribute and submit
it.  

El sáb, 19-09-2009 a las 20:55 -0500, Jeremy Thomerson escribió:
> If you actually want to redirect them to the other site (with a post, and
> not just a get), you will just need to render a form and rely on javascript
> to auto-submit it for you (likely with a "click here if not redirected"
> link).  The hidden fields could be rendered with attribute modifiers on
> webmarkupcontainers for example.  Or you could use an actual form and
> override the action URL, but that's probably a little heavy-handed for this.
> 
> --
> Jeremy Thomerson
> http://www.wickettraining.com
> 
> 
> 
> On Fri, Sep 18, 2009 at 7:21 AM, Martin Grigorov wrote:
> 
> > El vie, 18-09-2009 a las 10:51 +, Vadim Tesis escribió:
> > > all,
> > >
> > >
> > >
> > > i have a form with some input fields.  after the user populates the form
> > and hits submit button, i'd like to do some processing on my website and
> > then redirect the user to external website by posting another form with
> > dynamically generated hidden fields.
> > >
> > > what's the best way to do it in wicket 1.4?
> > There is no automatic Wicket way to do this.
> > You could forward the data with UrlConnection or apache-httpclient in
> > your onSubmit() callback method.
> > >
> > >
> > >
> > > Thanks,
> > >
> > > Vadim
> > >
> > > _
> > > Hotmail: Powerful Free email with security by Microsoft.
> > > http://clk.atdmt.com/GBL/go/171222986/direct/01/
> >
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: post a form to external website

2009-09-19 Thread Jeremy Thomerson
If you actually want to redirect them to the other site (with a post, and
not just a get), you will just need to render a form and rely on javascript
to auto-submit it for you (likely with a "click here if not redirected"
link).  The hidden fields could be rendered with attribute modifiers on
webmarkupcontainers for example.  Or you could use an actual form and
override the action URL, but that's probably a little heavy-handed for this.

--
Jeremy Thomerson
http://www.wickettraining.com



On Fri, Sep 18, 2009 at 7:21 AM, Martin Grigorov wrote:

> El vie, 18-09-2009 a las 10:51 +, Vadim Tesis escribió:
> > all,
> >
> >
> >
> > i have a form with some input fields.  after the user populates the form
> and hits submit button, i'd like to do some processing on my website and
> then redirect the user to external website by posting another form with
> dynamically generated hidden fields.
> >
> > what's the best way to do it in wicket 1.4?
> There is no automatic Wicket way to do this.
> You could forward the data with UrlConnection or apache-httpclient in
> your onSubmit() callback method.
> >
> >
> >
> > Thanks,
> >
> > Vadim
> >
> > _
> > Hotmail: Powerful Free email with security by Microsoft.
> > http://clk.atdmt.com/GBL/go/171222986/direct/01/
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: post a form to external website

2009-09-18 Thread Martin Grigorov
El vie, 18-09-2009 a las 10:51 +, Vadim Tesis escribió:
> all,
> 
>  
> 
> i have a form with some input fields.  after the user populates the form and 
> hits submit button, i'd like to do some processing on my website and then 
> redirect the user to external website by posting another form with 
> dynamically generated hidden fields.
> 
> what's the best way to do it in wicket 1.4?
There is no automatic Wicket way to do this.
You could forward the data with UrlConnection or apache-httpclient in
your onSubmit() callback method.
> 
>  
> 
> Thanks,
> 
> Vadim
> 
> _
> Hotmail: Powerful Free email with security by Microsoft.
> http://clk.atdmt.com/GBL/go/171222986/direct/01/


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



post a form to external website

2009-09-18 Thread Vadim Tesis

all,

 

i have a form with some input fields.  after the user populates the form and 
hits submit button, i'd like to do some processing on my website and then 
redirect the user to external website by posting another form with dynamically 
generated hidden fields.

what's the best way to do it in wicket 1.4?

 

Thanks,

Vadim

_
Hotmail: Powerful Free email with security by Microsoft.
http://clk.atdmt.com/GBL/go/171222986/direct/01/