• 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: Markus Ruggiero <email@hidden>
  • Date: Thu, 07 Jan 2016 14:07:48 +0100

Thanks to Theodore and Fabian,

that was exactly what I needed

---markus---


> On 07.01.2016, at 13:03, Theodore Petrosky <email@hidden> wrote:
>
> I hide/show tabs with boolean values in my user. SO   user.security.seesClients is true so I have a condition in my Navigation.plist:
>
> {
> 		name = Client;
> 		action = "session.navController.listClientAction";
> 		children = ("queryClient", "createClient", "Logout");
> 		conditions = ("session.user.security.seesClients");
> }
>
> if sessClient is true the tab shows if false it is hidden.
>
> Is this what you are looking for?
>
> Ted
>
>
>
>
>> On Jan 7, 2016, at 6:53 AM, Markus Ruggiero <email@hidden> wrote:
>>
>> Hi,
>>
>> I wish you all a happy new year, hope you had a good start.
>>
>> 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?
>>
>> 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


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

  • Prev by Date: Re: D2W rule controlled NavigationMenu.plist?
  • Next by Date: Re: D2W rule controlled NavigationMenu.plist?
  • Previous by thread: Re: D2W rule controlled NavigationMenu.plist?
  • Next by thread: Re: D2W rule controlled NavigationMenu.plist?
  • Index(es):
    • Date
    • Thread