Jean, If i understood your problem well, you have the same problem that i had.
i have all the user's permissions stored on the database. To control the access, i followed these how-to's to create a dispatcher: http://wiki.apache.org/tapestry/Tapestry5HowToCreateADispatcher http://wiki.apache.org/tapestry/Tapestry5HowToCreateADispatcher2 So then inside of the dispatcher i can do a query on the database and get the permission of the current user stored on my ASO, as well as if he has logged in or not. Inside the dispatcher i can redirect to a page that tell him if he cannot have the permission to access the page or i can also redirect him to the login page, or the home page, if he has logged in... well, i hope this helps you! 2007/12/6, Josh Canfield <[EMAIL PROTECTED]>: > > 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. > -- Atenciosamente, Marcelo Lotif