CoolMenu vs. Permission

Kelvin Yap <t2computing-/[email protected]>
Newsgroups gmane.comp.java.struts-menu.user
Message-ID <[email protected]>
About CoolMenu...

If you want to use PermissionAdapter, i.e.
permissions="rolesAdapter" in CoolMenu, you need to
define some JavaScript objects in the
"coolmenu-config.js".

Just copy the last 11 lines from
"permissionsMenu-config.js" and paste them at the
bottom of "coolmenu-config.js".

Here they are...

// normal menu colors
cmBGColorOn='blue'
cmBGColorOff='lightblue'
cmTxtColor='black'
cmHoverColor='white'

// disabled menu colors
cmDisBGColorOn='lightgrey'
cmDisBGColorOff='lightgrey'
cmDisTxtColor='white'
cmDisHoverColor='white'


I would suggest the struts-menu maintainers to
consider putting the above settings into
"coolmenu-config.js". I personally prefer to read
"coolmenu-config.js" because its name starts with
"coolmenu" & it is well documented.



		
__________________________________ 
Do you Yahoo!? 
Jazz up your holiday email with celebrity designs. Learn more. 
http://celebrity.mail.yahoo.com


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.