First of all, thanks for all the support given through this mailing list.
I'm a newbie in this framework and after reading a couple of book and the
wiki, I have a question concerning about this:

I want to control the access to pages by user's role. I've checked the
tapestry example about how to authenticate a user and restrict its access to
the private area but, .. is there any way of put the access ckeck in a
parent class or something like that. I'm thinking about that because maybe
put this in each page


    @ApplicationState
    private    User user;
    private boolean userExists;
    //    estos dos van de la mano con el nombre
    Object onActivate() {
        if (!userExists)
            return Start.class;
        return null;
    }




could be a bit annoying. May anyone tell a nice way to do it? Any kind of
help would be very appreciated ;D

Thanks in advance to all.

Reply via email to