• 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: WOToOneRelationShip selected value
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOToOneRelationShip selected value


  • Subject: Re: WOToOneRelationShip selected value
  • From: Deirdre Saoirse Moen <email@hidden>
  • Date: Tue, 27 Apr 2004 10:59:03 -0700

On Apr 27, 2004, at 2:48 AM, Goh Keng Boon wrote:

Hi, i'm able to populate a popupbutton using WOToOneRelationShip via
to-1-relationship, but imhaving problem inseting the selected data into database, is there any
resources that i can refer to?

You don't give an example of what you've tried, which would be helpful.

In fact, you shouldn't need to do anything other than:

1) Define the WOToOneRelationship correctly;
2) Put it in a form;
3) Have a function that saves the record.

Example definition:

pDay: WOToOneRelationship {
	sourceObject = thePanel;
	destinationDisplayKey = "dayName";
	relationshipKey = "toTimeslots.toDayNames";
	sourceEntityName = "Panels";
 	uiStyle = "popup";
 	isMandatory = false;
}


--
_Deirdre http://deirdre.net
"Cannot run out of time. There is infinite time. You are finite. Zathras is finite. This....is wrong tool." -- Zathras
_______________________________________________
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.



References: 
 >WOToOneRelationShip selected value (From: "Goh Keng Boon" <email@hidden>)

  • Prev by Date: Re: [Wonder-disc] WODev "PK on Insert" code causes D2W(onder) problem
  • Next by Date: refaultObject( this )
  • Previous by thread: WOToOneRelationShip selected value
  • Next by thread: Ant & WOMailDelivery
  • Index(es):
    • Date
    • Thread