• 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
Problem with bindings to application class variables using WOLips in 5.4.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with bindings to application class variables using WOLips in 5.4.1


  • Subject: Problem with bindings to application class variables using WOLips in 5.4.1
  • From: Kevin Windham <email@hidden>
  • Date: Thu, 17 Apr 2008 18:16:27 -0500

I have moved an app to Eclipse/WOLips and WO 5.4.1 under Leopard. I think everything is working except for this last issue. Any component page that has a binding to an application class variable is throwing an unknown key exception.

<WorkerThread2> <com.webobjects.appserver._private.WOComponentRequestHandler>: Exception occurred while handling request:
<com.webobjects.foundation.NSKeyValueCoding$UnknownKeyException message '<com.webobjects.appserver.WOApplication 0xb7c63f> valueForKey(): lookup of unknown key: 'stateList'.
This class does not have an instance variable of the name stateList or _stateList, nor a method of the name stateList, _stateList, getStateList, or _getStateList

I have in my application class a number of lists setup for various popup menus that I reuse in several components. One of these is just a list of state abbreviations. In my component wod file it is bound as application.stateList.

In Application.java I have.

public class Application extends ERXApplication {
public NSArray stateList;

Anyone seen this before and know what causes it? I have cleaned the project and all my bindings to the session class seem to work fine and I don't really know what would make this different. Is there some kind of project setting that would cause this. I must admit to being thoroughly lost in the Eclipse/WOLips environment.

Thanks,
Kevin
 _______________________________________________
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: Problem with bindings to application class variables using WOLips in 5.4.1
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: ERXMutableArray fields in Entity Modeler
  • Next by Date: Re: Problem with bindings to application class variables using WOLips in 5.4.1
  • Previous by thread: Re: Project Wonder : Database Migration : Downgrade
  • Next by thread: Re: Problem with bindings to application class variables using WOLips in 5.4.1
  • Index(es):
    • Date
    • Thread