just enable friendly url -
then
http://servername/appname?page=RispKo&service=page
will become
http://servername/RispKo.html

So, if the PGS requests http://servername/RispKo.html?par1=value&par2=value
you can get those values as normal (i.e. cycle.getParameter())

On Tue, Feb 9, 2010 at 13:51, Ivano Luberti <lube...@archicoop.it> wrote:
> Another issue about T4
> The web site I'm developing must accept requests from an external web site.
> It is a payment gateway system (PGS) to whom I redirect the user and
> after payment has been (successfully or not) completed the pgs redirect
> the user browser to an appropriate link of my web site.
> When I configure the URLs in the backoffice of the PGS it accepts only
> strings of the form:
>
> http://servername/appname/pagename
>
> I cannot put something like:
>
> http://servername/appname?page=RispKo&service=page
>
> as it woul be necessary, because must attach its own parameters to the
> URL and doesn't accept the "?" in the URL
>
> I have seen two possibilities to work around this:
>
> Configuring Friendly URL in Tapestry 4: but for what I read from the
> docs enabling friendly URLs disable ugly ones and the PGS will attach a
> "?par1=value&par2=value" to the URL
>
> Deployng a servlet inside my application and provide its URL to the PGS.
> But here comes the problem to render the appropriate page and this would
> mean to access T4 infrastructure from the servlet and I don't have a
> clue about how to do it : may I extend a servlet to be a base page ?
> I guess I could use JSPs to render content but really I would like to
> avoid that.
>
> Can someone point me to a viable alternative to the above solutions ?
>
>
>
> --
> ==================================================
> dott. Ivano Mario Luberti
> Archimede Informatica societa' cooperativa a r. l.
> Sede Operativa
> Via Gereschi 36 - 56126- Pisa
> tel.: +39-050- 580959
> tel/fax: +39-050-9711344
> web: www.archicoop.it
> ==================================================
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>



-- 
Andreas Andreou - andy...@apache.org - http://blog.andyhot.gr
Tapestry / Tacos developer
Open Source / JEE Consulting

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

Reply via email to