5 Replies Latest reply: Mar 15, 2012 1:37 PM by Jason Porter RSS

Seam Faces, Pages.xml - restrict tag

Andrew Davie Newbie

In olden days (Seam 2.2) I could define a page in pages.xml and simply mark it with a <restrict></restrict>. The page would be inaccesible by default, with security rules providing the access as required.

 

Seam Faces (Seam 3) as far as I can tell allows me to define something equivalent to the pages.xml using an interface and an enumerated type, however does it also support the above mentioned use case? I can find examples where an annotation can be defined for a given type on a given page e.g.

 

        @ViewPattern("/admin.xhtml")
        @Admin
        ADMIN,