• 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 - Problem with navigation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: D2W - Problem with navigation


  • Subject: Re: D2W - Problem with navigation
  • From: Flavio Donadio <email@hidden>
  • Date: Tue, 09 Oct 2012 23:58:21 -0300

Just to add some info...

I can say for sure that the culprit is the line:

	children = "session.navigationRootChoice";

I am looking at the ERXSession class reference and can't find any member or method called navigationRootChoice.

Is the tutorial wrong or am I missing something? My installation is less than a week old and the tutorial was last updated in August...


Cheers,
Flavio

On 09/10/2012, at 22:31, Flavio Donadio wrote:

> Hello, folks!
>
>
> I am trying to create a simple app to practice with D2W, but I'm getting an error with NavigationMenu.plist. The relevant part of the file is:
>
>> 	{
>> 		name = Root;
>> 		directActionClass = DirectAction;
>> 		directActionName = default;
>> 		children = "session.navigationRootChoice";
>> 		childrenChoices = {
>>            		home = (
>> 				Produtos,
>> 				Fabricantes,
>> 			);
>> 		};
>> 	},
>
>
> When I run this app, the first page shown after log-in gives me the error below:
>
>> UnknownKeyException: <br.com.codeprint.TesteWeb.Session 0x732efcfe> valueForKey(): lookup of unknown key: 'navigationRootChoice'.
>> This class does not have an instance variable of the name navigationRootChoice or _navigationRootChoice, nor a method of the name navigationRootChoice, _navigationRootChoice, getNavigationRootChoice, or _getNavigationRootChoice
>>  at com.webobjects.foundation.NSKeyValueCoding$DefaultImplementation.handleQueryWithUnboundKey(NSKeyValueCoding.java:1377)
>>     ... skipped 11 stack elements
>>  at er.extensions.appserver.navigation.ERXNavigationState.navigationItemsForLevel(ERXNavigationState.java:141)
>>  at er.extensions.appserver.navigation.ERXNavigationMenu.itemsForLevel(ERXNavigationMenu.java:127)
>>  at er.extensions.appserver.navigation.ERXNavigationMenu.setUpMenu(ERXNavigationMenu.java:105)
>>  ... skipped 29 stack elements
>> _ignoredPackages:: ("com.webobjects", "java.applet", "java.awt", "java.awt.datatransfer", "java.awt.event", "java.awt.image", "java.beans", "java.io", "java.lang", "java.lang.reflect", "java.math", "java.net", "java.rmi", "java.rmi.dgc", "java.rmi.registry", "java.rmi.server", "java.security", "java.security.acl", "java.security.interfaces", "java.sql", "java.text", "java.util", "java.util.zip")
>
> I have Googled and searched the archives for similar errors, but can't find anything. I am missing something...
>
>
> Cheers,
> Flavio
> _______________________________________________
> 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 - Problem with navigation (From: Flavio Donadio <email@hidden>)

  • Prev by Date: D2W - Problem with navigation
  • Next by Date: Re: D2W - Problem with navigation
  • Previous by thread: D2W - Problem with navigation
  • Next by thread: Re: D2W - Problem with navigation
  • Index(es):
    • Date
    • Thread