Re: Disabling menu items

Matt Raible <[email protected]>
Newsgroups gmane.comp.java.struts-menu.user
Message-ID <[email protected]>
On 9/30/05, Marco Mistroni <[email protected]> wrote:
> Hello matt,
>  yes i tried the sample application (the one on thes erver).. actually when
> i use coolmenu3, it shows exactly
> like in my app, where option not accessible are greyed out..
> with coolmenu4 & listmenu instead the menus not available are not even
> displayed

Which behavior would you prefer?  I'd use the Displayer that supports
what you're trying to do.

Matt

>
> thanx and sorry to bother
>
> marco
>
>
>
> On 9/29/05, Marco Mistroni <[email protected]> wrote:
> >
> > hello,
> >   haven't tried yet... i will and let you know
> >
> > regards
> >   marco
> >
> >
> > On 9/29/05, Matt Raible <[email protected]> wrote:
> > > I believe it's a CSS setting - does it work in the sample application?
> > >
> > > Matt
> > >
> > > On 9/29/05, Marco Mistroni < [email protected]> wrote:
> > > > hello matt,
> > > >   yes sorry for the poor informations submitted
> > > >
> > > > i am using coolMenuDisplayer and i am importing
> permissionsMenu-config.js
> > > >
> > > > app works fine, user not in role will see some items grayed out
> > > > i was wondering if i need to use a different menu displayere so that
> when
> > > > user is not
> > > > in role, some items are not shown at all..
> > > >
> > > > thanks and regards
> > > >  marco
> > > >
> > > >
> > > > On 9/29/05, Matt Raible < [email protected]> wrote:
> > > > >
> > > > > Which menu displayer are you using?  Does it work in the sample
> > > > application?
> > > > >
> > > > > Matt
> > > > >
> > > > >
> > > > > On 9/29/05, Marco Mistroni < [email protected]> wrote:
> > > > > > hello all,
> > > > > >  i am using StrutsMenu in my application.
> > > > > > my menus are associated with roles
> > > > > >
> > > > > > so far, everything works fine and user not in role will see the
> menu
> > > > greyed
> > > > > > out
> > > > > >
> > > > > > i was curious to know how can i avoid to display the menu item at
> all if
> > > > > > user is not in role
> > > > > >
> > > > > > is there any particular javascript file that ihave to import?
> > > > > >
> > > > > > thanks in advane and regards
> > > > > >  marco
> > > > >
> > > > >
> > > > >
> -------------------------------------------------------
> > > > > This SF.Net email is sponsored by:
> > > > > Power Architecture Resource Center: Free content, downloads,
> discussions,
> > > > > and more.
> http://solutions.newsforge.com/ibmarch.tmpl
> > > > > _______________________________________________
> > > > > struts-menu-user mailing list
> > > > > struts-menu-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > > > >
> > > >
> https://lists.sourceforge.net/lists/listinfo/struts-menu-user
> > > > >
> > > >
> > > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by:
> > > Power Architecture Resource Center: Free content, downloads,
> discussions,
> > > and more. http://solutions.newsforge.com/ibmarch.tmpl
> > > _______________________________________________
> > > struts-menu-user mailing list
> > > struts-menu-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > >
> https://lists.sourceforge.net/lists/listinfo/struts-menu-user
> > >
> >
> >
>
>


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
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.