You might try the acegijsf tags that are included in AppFuse:

http://cagataycivici.wordpress.com/2006/01/19/acegi_jsf_components_hit_the/

I believe they work, but some people have reported problems with them
on this list. If you get them to work, please let us know.

Matt

On 6/18/07, jeremiah.lopez <[EMAIL PROTECTED]> wrote:

I'm currently editing the mainMenu.xhtml page to include some links for my
application, but the problem I'm having is that some of the links only need
to be visible and accessible by users with the 'ROLE_ADMIN' role.  I know
how to do this in the menu-config.xml file, but that only controls the links
in the menu at the top of the page.  I need something like so in
mainMenu.xhtml:

<c:if test="CHECK IF ADMIN">
    <li>
            <h:commandLink value="#{text['menu.myPage']}" action="myPage"/>
    </li>
</c:if>

Any ideas?
--
View this message in context: 
http://www.nabble.com/Restricting-links-to-admins-tf3942163s2369.html#a11181826
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to