l-Nachricht
Datum: Wed, 19 May 2010 11:01:05 +0200
Von: Dragan Sahpaski
An: Tapestry users
Betreff: Re: using a landing page to direct to other pages
I use
org.apache.tapestry5.services.Response.sendRedirect(String URL)
or
org.apache.tapestry5.services.Response.sendRedir
>
> Original-Nachricht
> Datum: Wed, 19 May 2010 11:01:05 +0200
> Von: Dragan Sahpaski
> An: Tapestry users
> Betreff: Re: using a landing page to direct to other pages
>
> I use
> org.apache.tapestry5.services
I use org.apache.tapestry5.services.Response.sendRedirect(String URL)
or
org.apache.tapestry5.services.Response.sendRedirect(Link link)
you can create a PageLink like with
PageRenderLinkSource.createPageRenderLink
see
http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/services/Res
in tapestry 4.1 it was possible to throw a PageRedirectException in the
pageBeginRender method.
This was useful in that you could check pre-requisites before actually
rendering the page and optionally render an alternative page (without
going to the client for a redirect).
What is the tidies