Redirect to a page with POST parameters

2007-12-16 Thread Pills

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Redirect to a page with POST parameters

2007-12-16 Thread Johan Compagner
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 [EMAIL PROTECTED] 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.comhttp://nabble.com/
 .


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