Thanks for the tips. i tried using the wiki objects but they don't seem to be working out-of-the-box with spring security that I am using (Nothing gets returned from the EL).
I did find the spring security taglibs though. any comments/drawbacks on using spring tags instead? >From a first look I dont see any tag that evaluates to true/false (e.g. for enable disable functionality) It seems ok just for the layouts. Thanks Mike Kienenberger wrote: > > http://wiki.apache.org/myfaces/SecurityContext > > On Mon, Sep 21, 2009 at 9:45 AM, jid1 <[email protected]> wrote: >> >> Hello, >> >> I was looking for role-based rendering Tags/Tools to use with myfaces. Is >> there any common practice from this? >> >> I would like my forms (and other UI) to render information based on the >> user >> role. Eg. If I have a component I would like it to be editable for >> ROLE_ADMIN, visible for ROLE_MOD and not visible for all others. Is there >> any out of the box framework to do this? >> >> Thanks >> -- >> View this message in context: >> http://www.nabble.com/Myfaces-and-Presentation-Role-based-rendering-tp25530337p25530337.html >> Sent from the MyFaces - Users mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/Myfaces-and-Presentation-Role-based-rendering-tp25530337p25567701.html Sent from the MyFaces - Users mailing list archive at Nabble.com.

