Re: WOToOneRelationShip selected value
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.