This sounds pretty close to a question that came up earlier this week. "page
navigation (return to arbitrary page)"

Here is how I do it:
http://thread.gmane.org/gmane.comp.java.tapestry.user/56014/focus=56022


Josh
On Dec 6, 2007 4:27 PM, Jean-Philippe Steinmetz <[EMAIL PROTECTED]> wrote:

> Hi All,
>
> I'd like to build a component/page that handles a page redirection. An
> example situation is when a user may try and access page X but due to
> permissions levels may not be allowed access (or some other reason) so
> they
> are presented an intermediate page with some message like "You do not have
> permission to access this page" and then are redirected to another page
> (i.e. the previous page). In my current implementation I pass on a simple
> string for the logical name of the page to be redirected to but this
> doesn't
> work too well when I have pages that require context elements and I don't
> know all the information to pass on as a string. So what kind of object
> should I be working with instead? and does it have a toString() method in
> order to convert it to a logical name that can be embedded into the html
> meta tag (i.e. <meta http-equiv="refresh"
> content="3;/MyApp/Page1/context">). Thanks for any help!
>
> Jean-Philippe
>



-- 
--
TheDailyTube.com. Sign up and get the best new videos on the internet
delivered fresh to your inbox.

Reply via email to