• 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
Wotoonerelationship problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Wotoonerelationship problem


  • Subject: Wotoonerelationship problem
  • From: Goh Keng Boon <email@hidden>
  • Date: Fri, 4 Jun 2004 13:52:14 +0800

Hi, I got this WOToOneRelationship, that is link to a country table,
i'm able to populate the whole list using WOToOneRelationship, but i'm
not able to insert it,

<code>
ToOneRelationship: WOToOneRelationship {
     sourceEntityName = "locationinfo";
	relationshipKey = "_locationtype";
	destinationDisplayKey = "locationtypename";
	sourceObject = anOutlet;
}
</code>

my table "locationinfo" has a to-1-relationship with another table
called "locationtype" and the relationship named "_locationtype"
Whenever i try to save anOutlet, i got this error :
java.lang.ClassCastException


Thanks.

KB
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: wopopupbutton + relationship problem
  • Next by Date: Re: Another plea for help XCODE PROBLEM!
  • Previous by thread: Re: wopopupbutton + relationship problem
  • Next by thread: Re: How to count the source code line?
  • Index(es):
    • Date
    • Thread