• 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: Can't see the tabs in D2W app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't see the tabs in D2W app


  • Subject: Re: Can't see the tabs in D2W app
  • From: Timothy Worman <email@hidden>
  • Date: Mon, 23 Jun 2014 13:38:51 -0700

On Jun 23, 2014, at 1:34 PM, Pascal Robert <email@hidden> wrote:

>>>> [cc’ing the list.. begrudgingly. Here comes six more undeliverable messages :/ maybe time to move to the wonder list?]
>
> The Wonder list is under the control of people who are not in the community anymore. I don't think it's a better option.

This list never had this issue before - I’m wondering why it is suddenly a problem.

> ----- Mail original -----
> De: "Ramsey Gurley" <email@hidden>
> À: "Pascal Robert" <email@hidden>
> Cc: "WebObjects-Dev Apple" <email@hidden>
> Envoyé: Lundi 23 Juin 2014 16:02:43
> Objet: Re: Can't see the tabs in D2W app
>
> You need to set your navigationState in your d2wContext in some way. That can be as straightforward as a few rules like
>
> 100: pageConfiguration = ‘ListComputer’ => navigationState = ‘Computers’ [Assignment]
> 100: pageConfiguration = ‘CreateComputer’ => navigationState = ‘Computers.CreateComputer’ [Assignment]
> … and so on.
>
> I think BugTracker does this through a page factory bottleneck so it can set the navigationState values programatically. But then, it has a lot of navigationState rules as well.
>
> BTW, if you’re just using the standard page configs, the ERD2WDirectAction class can save you a lot of navigationController boilerplate. It’s just directActionName = ‘PageConfigurationName’ like
>
> name = Computers;
> directActionName = “ListComputer”;
>
> I do this whenever possible and generally I use the pageConfiguration as the name as well
>
> name = ListComputer;
> directActionName = “ListComputer”;
>
> That way it’s easier to remember what localized key applies to what.
>
> [cc’ing the list.. begrudgingly. Here comes six more undeliverable messages :/ maybe time to move to the wonder list?]
>
> On Jun 23, 2014, at 12:30 PM, Pascal Robert <email@hidden> wrote:
>
>> I'm trying to build a prototype for a inventory system, and I'm trying to use D2W in that system. Problem is that my navigation doesn't work. I have two first-level children, Computers and Mobile, and each have two children. Problem is: I only see the tabs for Computers and Mobile, the sub tabs don't appears.
>>
>> My NavigationMenu.plist file:
>>
>> (
>>   {
>>       name = Root;
>>       directActionClass = DirectAction;
>>       directActionName = default;
>>       children = ("Computers", "Mobile");
>>   },
>>   {
>>       name = "Computers";
>>       action = "session.navController.listComputersAction";
>>       children = ("CreateComputer","SearchComputers");
>>   },
>>   {
>>       name = "CreateComputer";
>>       action = "session.navController.createComputerAction";
>>   },
>>   {
>>       name = "SearchComputers";
>>       action = "session.navController.searchComputersAction";
>>   },
>>   {
>>       name = "Mobile";
>>       action = "session.navController.listMobileDevicesAction";
>>       children = ("CreateMobileDevice","SearchMobileDevices");
>>   },
>>   {
>>       name = "CreateMobileDevice";
>>       action = "session.navController.createMobileDeviceAction";
>>   },
>>   {
>>       name = "SearchMobileDevices";
>>       action = "session.navController.searchMobileDevicesAction";
>>   }
>> )
>> _______________________________________________
>> 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


  • Follow-Ups:
    • Re: Can't see the tabs in D2W app
      • From: Ramsey Gurley <email@hidden>
References: 
 >Can't see the tabs in D2W app (From: Pascal Robert <email@hidden>)
 >Re: Can't see the tabs in D2W app (From: Ramsey Gurley <email@hidden>)
 >Re: Can't see the tabs in D2W app (From: Pascal Robert <email@hidden>)

  • Prev by Date: Re: Can't see the tabs in D2W app
  • Next by Date: Re: Can't see the tabs in D2W app
  • Previous by thread: Re: Can't see the tabs in D2W app
  • Next by thread: Re: Can't see the tabs in D2W app
  • Index(es):
    • Date
    • Thread