Hi Stephane, We implemented something very similar for cimetz.
On 6/9/06, Stephane Decleire <[EMAIL PROTECTED]> wrote:
Hi, I need to link payment services to my Tapestry application. Those services follow the same path : 1. The application call the payment services : - with an HTTP Get or Post (depending on the payment solution). - with parameters such as the amount, the currency, the session id ...
We just have a "@For" loop that renders hidden fields. 2. The payment service interacts with the user to valid the money
transaction. 3. The payment service redirects the user on a predefined URL on our application. (Some predefined parameters such as the session id given in stage 1 can be resend here).
This URL is our home page in this case, which is very easy to implement. Otherwise, you can obtain a link by injecting the page service in your page and call getLink(...). This will give you a string that represents your target URL. In our case, the bank also sends a confirmation to one of our URL, we implemented it as a servlet as it doesn't need to render anything. Thanks, Henri.