On Feb 15, 2005, at 10:38 AM, Brian Rosenthal wrote:

Hello.� I'm brand new to the list.� Scott Scott Sayles suggested I join and ask this question here:

I have two questions regarding Struts-Menu, a SourceForge project
that's now been decoupled from Struts itself. The API docs seem to
indicate that FGM played a part in its creation, so I thought it
would be appropriate to ask them here. I tried to research these
issues on the project's web site, but had no luck. Even tried
to "Submit an issue" but got a 404.

1) Following the code in the examples is pretty
straightforward. I'm trying to hide menu items based on roles,
which is implemented in a very straightforward way. I have a
ListItemMenu Displayer which behaves as expected. When I add
permissions="rolesAdapter" to my <menu:useMenuDisplayer> tag and
update menu-config.xml with a roles="bigboss," only authenticated
users of type bigboss can see the menu item. Here's the problem.
When I switch my useMenuDisplayer to the coolmenu (which is pretty
cool, btw) the behavior breaks. Non-bigbosses s  ee no menu at all.
I haven't changed anything else and yes, I have added a
CoolMenuDisplayer Displayer to menu-config.xml with the proper name.

It sounds like a bug in CoolMenus - are you using CoolMenus3 or CoolMenus4?



2) I have several MenuItems that are unusable. The value for
the page attribute in these MenuItems contain query strings with
name/value pairs.
page="/myfile.html?fname=brian"
Apparently, an equals sign is not accepted. I tried overriding this
using
page="!<[PCDATA[/myfile.html?fname=brian]]>"
but no luck. I did find a similar problem online, but no fix.
http://www.mail-archive.com/[email protected]/ msg00072.html

What's the error you're getting? I don't think = is a unique character in XML, but I could be wrong.


Matt


Can anyone on this list offer some suggestions, or even point me in the right direction?

Thanks,
-BR

Do you Yahoo!?
 Yahoo! Mail - 250MB free storage. Do more. Manage less.



------------------------------------------------------- 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://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ struts-menu-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/struts-menu-user

Reply via email to