• 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: I must be missing something...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I must be missing something...


  • Subject: Re: I must be missing something...
  • From: Chuck Hill <email@hidden>
  • Date: Sat, 8 Mar 2008 19:09:11 -0800


On Mar 8, 2008, at 6:50 PM, Johan Henselmans wrote:


I have this nice repetition, in which people can choose a date. Now suddenly, after I converted the whole thing from Xcode to WOLips (and doing the EOGenerator separation of custom logic and standard logic, I suddenly get this from calling the list:


java.lang.IllegalArgumentException: While trying to invoke the set method "public void Session.setTrainingdata(nl.netsense.nidf.BL.Trainingdata)" on an object of type Session we received an argument of type com.webobjects.eocontrol.EOGenericRecord. This often happens if you forget to use a formatter.

The thing was a very simple list , with an item to be selected. It's getting late, I must overlook something. Any idea?

Repetition1: WORepetition {
	item = session.trainingdata;
	list = session.trainingDataList;
}


Check the log for other messages when the app first launches. Getting EOGenericRecord instead of your specific class might mean that the model is not loading. That particular exception might possibly indicate that your new templates are using the wrong super class for _TrainingData.

Chuck


--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects






_______________________________________________
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: I must be missing something...
      • From: Johan Henselmans <email@hidden>
References: 
 >I must be missing something... (From: Johan Henselmans <email@hidden>)

  • Prev by Date: I must be missing something...
  • Next by Date: Re: I must be missing something...
  • Previous by thread: I must be missing something...
  • Next by thread: Re: I must be missing something...
  • Index(es):
    • Date
    • Thread