Re: [Wonder-disc] ERXNavigationMenu - can you have more than one?
Re: [Wonder-disc] ERXNavigationMenu - can you have more than one?
- Subject: Re: [Wonder-disc] ERXNavigationMenu - can you have more than one?
- From: Tim Worman <email@hidden>
- Date: Mon, 27 Sep 2010 10:42:18 -0700
Mark:
Thanks for the response. Time permitting, could you expand on what you said about "different classes reflecting different submenus?"
So, I take it that the solution you're using incorporates a single NavigationMenu.plist. I was wondering about this since it only seems to be possible to point to one plist in the properties.
My current navigation is a custom drop-down list using a <ul> structure and of course, it is simple for me to exclude menu items based on membership in a certain role. Since ERXNavigation is described in a plist, I've been having a hard time figuring out how you exclude items in code.
Tim
On Sep 26, 2010, at 11:58 PM, Mark Wardle wrote:
> Hi Tim.
>
> I use ERXNavigation and have a large number if D2W generated pages. I
> took the decision early on to use custom Direct Actions for these
> menus - with different classes reflecting different submenus. I also
> use some conventional non-D2W components manually crafted (eg the home
> page) and so those DAs simply do a pageWithName call.
>
> As such you could use a custom navigation menu in a dedicated pagewrapper.
>
> In addition, one can change the menu at run time based on some
> condition. My rule is session.authenticatedUser.role.isSystem for
> example for my admin related submenus.
>
> Mark
>
> On Monday, September 27, 2010, Tim Worman <email@hidden> wrote:
>> All:
>>
>> I've set up an admin section of an existing app to use ERModernD2W. Clicking a link for admins forces the D2W stuff to load - it uses a separate page wrapper and at that point obviously also loads the ERModern entity nav. I have a tab there that takes you back to the "other" part of the app with my legacy nav. I would like to do one of two things.
>>
>> 1. use the ERModernD2W nav to incorporate tabs representing my legacy non-D2W navigation. I started to try and go down this road and had a lot of difficulty incorporating tabs representing my legacy functions.
>>
>> 2. have 2 ERXNavigation systems. Could I have another ERNavigation implementation in my app and have it load a separate NavigationMenu.plist without it interfering with the ERModernD2W nav bar?
>>
>> Tim Worman
>> UCLA GSE&IS
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing.
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Wonder-disc mailing list
>> email@hidden
>> https://lists.sourceforge.net/lists/listinfo/wonder-disc
>>
>
> --
> Dr. Mark Wardle
> Specialist registrar, Neurology
> Cardiff, UK
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden