http://raibledesigns.com/struts-menu/permissionsForm.jsp
Matt
On Apr 2, 2004, at 3:42 PM, [EMAIL PROTECTED] wrote:
Thanks for answering my last question on Tiles & Buttons. With your
suggestion I figured it out.
I now have a question about using the permissionsAdapter.
I create my own subclass and it works great.
My question is using the coolmenus (or any other style) how can I prevent
the menu item for being added to the menu when the adapter's isAllowed()
method returns false. Using coolmenus I can get these items to appear
'disabled' in a different color by specifying the 'cmDisXXX' variables in
the javascript but I can't seem to figure out how to prevent them from being
added altogether.
Is there some setting I missed in the javascript or in the menu-config?
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ struts-menu-user mailing list [EMAIL PROTECTED] https://lists.sf.net/lists/listinfo/struts-menu-user
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ struts-menu-user mailing list [EMAIL PROTECTED] https://lists.sf.net/lists/listinfo/struts-menu-user