Re: 2 Questions: Roles and Query Strings
Matt Raible <lists-T7vlz3gD7BdF/EzeuO4KJwC/[email protected]>
| Newsgroups | gmane.comp.java.struts-menu.user |
|---|---|
| Message-ID | <[email protected]> |
Brian - you might try the latest version of Struts Menu (2.3) and see if your issue still happens there. Matt On Feb 14, 2005, at 8:34 AM, Brian Rosenthal wrote: > Can someone on this list please help? > Thanks, > -BR > > Note: forwarded message attached. > > Do you Yahoo!? > Yahoo! Mail - Easier than ever with enhanced search. Learn more. > From: "Scott Sayles" <[email protected]> > Date: February 11, 2005 2:35:54 PM MST > To: <uublr-/[email protected]> > Cc: "'novajug'" <[email protected]> > Subject: RE: [novajug] Struts-Menu > > > Hello Brian, > > I'm actually the author for the project. However, I've since handed it > over to Matt Raibel as I stopped having anything to do with it (because > people stopped paying me to improve it and I've had no other use for it > ;-)). > > As for your issue with switching the menu displayer to use CoolMenus, > that particular displayer requires additional javascript included in > your page. i.e. it's not just a simple matter of just changing the > displayer type in the tag (at least not at the time I was last in the > code). > > In any case, I would suggest that you send your inquiry to > struts-menu-user-5NWGOfrQmneRv+LV9MX5uti2KpX7p8Fi@public.gmane.org > > Thanks. > > Scott Sayles > Software Developer > FGM Inc. > > >> -----Original Message----- >> From: David Bock [mailto:[email protected]] >> Sent: Friday, February 11, 2005 3:54 PM >> To: novajug >> Cc: Scott Sayles >> Subject: Re: [novajug] Struts-Menu >> >> >> Brian, >> >> I'm forwarding your note to Scott Sayles, who if I am not >> mistaken was the person at FGM who played a part in the >> creation of Struts-Menu. >> >> -db >> >> On Fri, 2005-02-11 at 12:51, Brian wrote: >>> 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 see 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. >>> >>> 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/struts-menu- >>> [email protected]/msg00072.html >>> >>> Can anyone on this list offer some suggestions, or even point me in >>> the right direction? >>> >>> Thanks, >>> -BR >>> >>> >>> >>> >>> >>> >>> Visit our web page at http://www.novajug.com >>> >>> To unsubscribe from this group, please visit groups.yahoo.com. >>> >>> >>> Yahoo! Groups Links >>> >>> <*> To visit your group on the web, go to: >>> http://groups.yahoo.com/group/novajug/ >>> >>> <*> To unsubscribe from this group, send an email to: >>> [email protected] >>> >>> <*> Your use of Yahoo! Groups is subject to: >>> http://docs.yahoo.com/info/terms/ >>> >>> >>> >>> >> > > >