You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Pills <pi...@hmcrecord.ch> on 2007/12/16 15:59:32 UTC

Redirect to a page with POST parameters

Hello,

I'm looking for a way to redirect to an external page that needs some POST
parameters to works.

It will be used in a paiement system implementation (it needs some data like
currency, amount... passed using post parameters).

I know how to redirect a user to a simple url (with
getRequestCycle().setRequestTarget(...)), but I don't know how to define
post vars for it.


Thanks in advance ;)
-- 
View this message in context: http://www.nabble.com/Redirect-to-a-page-with-POST-parameters-tp14362262p14362262.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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


Re: Redirect to a page with POST parameters

Posted by Johan Compagner <jc...@gmail.com>.
real Post variables are not directly possible (or you have to go to a page
that has a form pre filled in and you submit that when the page is loaded)

You can generate a GET url request with parameters and use the
RedirectRequestTarget
to redirect to it.

johan


On Dec 16, 2007 3:59 PM, Pills <pi...@hmcrecord.ch> wrote:

>
> Hello,
>
> I'm looking for a way to redirect to an external page that needs some POST
> parameters to works.
>
> It will be used in a paiement system implementation (it needs some data
> like
> currency, amount... passed using post parameters).
>
> I know how to redirect a user to a simple url (with
> getRequestCycle().setRequestTarget(...)), but I don't know how to define
> post vars for it.
>
>
> Thanks in advance ;)
> --
> View this message in context:
> http://www.nabble.com/Redirect-to-a-page-with-POST-parameters-tp14362262p14362262.html
> Sent from the Wicket - User mailing list archive at Nabble.com<http://nabble.com/>
> .
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>