• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: D2W rule controlled NavigationMenu.plist?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: D2W rule controlled NavigationMenu.plist?


  • Subject: Re: D2W rule controlled NavigationMenu.plist?
  • From: Theodore Petrosky <email@hidden>
  • Date: Thu, 07 Jan 2016 08:22:47 -0500

Thanks Fabian, I knew there was a documentation file somewhere that I couldn’t find.

Ted




> On Jan 7, 2016, at 7:10 AM, Fabian Peters <email@hidden> wrote:
>
> Hi Markus,
>
>> Here is my problem. Is there a way to dynamically control what is shown by NavigationMenu.plist?
>> Background: I have 4 main tabs with the rightmost being for admin users only. Can I show/hide tabs (maybe also 2nd and 3rd level navigation) on conditions given by the currently logged-in user?
>>
>> Is something like session.currentUser.isAdmin=1 and tabname = 'TAB_ADMIN' => showTab = 1 possible?
>
>
> You don't need rules to do that, although you could use them. You can use any of "children", "childrenChoices" or "childrenConditions" to get what you want, e.g.:
>
> 	{
> 		children = "session.navigationRootChoice";
> 		childrenChoices = {
> 			admins = ("Foo", "Bar");
> 			other = ("Bar");
> 		};
> 		action = "session.factory.home";
> 		name = Root;
> 	},
>
> Have a look at wonder/Frameworks/Core/ERExtensions/Documentation/Navigation.html.
>
> Fabian
>
>> Thanks a lot
>> ---markus---
>> _______________________________________________
>> 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
>
>
> _______________________________________________
> 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


 _______________________________________________
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


References: 
 >D2W rule controlled NavigationMenu.plist? (From: Markus Ruggiero <email@hidden>)
 >Re: D2W rule controlled NavigationMenu.plist? (From: Fabian Peters <email@hidden>)

  • Prev by Date: Re: D2W rule controlled NavigationMenu.plist?
  • Next by Date: ERQMAjaxUpdateContainer : lookup of unknown key: 'value'
  • Previous by thread: Re: D2W rule controlled NavigationMenu.plist?
  • Next by thread: Re: ERCaptcha with Java 1.8 shows black image only
  • Index(es):
    • Date
    • Thread