I am not sure. Let me give some more information, and hopefully that will clarify.
I have a cart page in which users can add/remove products at the bottom of that page I present them with two buttons, Pay with PayPal, Pay with Credit Card. If they click Pay by Credit Card, I just want to go on to another tapestry page of mine. If they click Pay by PayPal, I need to do a http POST to the paypal url, and the user goes there instead. Would the @Any do this? The PayPal POST requires a bunch of parameters to be passed in, which I would ideally like to avoid in the general case (ie user uses their credit card). So I was thinking I could just have a listener hooked up to my PayPal button, and then form a POST with the session info (use commons HTTP maybe??), but I have no idea how to get the user's browser redirected to the PayPal site. Any ideas? On Wed, 2006-17-05 at 09:00 +0200, Schulte Marcus wrote: > Would > > <form jwcid="@Any" action="ognl:yourPayPalURL" > > > work? > The input's in the form would then also have to be > @Any's ... > > > -----Original Message----- > > From: Craig Hamilton [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, May 17, 2006 3:15 AM > > To: 'Tapestry users' > > Subject: perform Post on external link > > > > > > I have a shopping cart, and on a page I need two buttons, one to Pay > > with Credit Card, which goes to my PaymentInfo page, and then another > > button Pay with PayPal, which will do a http post to the paypal pages. > > Which component should I be using for the PayPal button, and how do I > > redirect the user to that paypal.com page, needing to do a POST? > > > > Thanks in advance, > > Craig > > > > ps. using tap 4 > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]