Re: WOToOneRelationship default value
Re: WOToOneRelationship default value
- Subject: Re: WOToOneRelationship default value
- From: Nathan Dumar <email@hidden>
- Date: Tue, 11 May 2004 15:50:08 -0400
I don't know of a way to do it in EO Modeler within the relationship
itself.
In WO Builder, use the selection attribute for the element you're using
for making the choice (WOPopUpButton, for example). This doc will
help:
http://developer.apple.com/documentation/WebObjects/Reference/
DynamicElements/index.html#//apple_ref/doc/uid/TP30001055
If this is something your user isn't able to see to make the selection,
you can do it in your code when you create the new record.
Nathan
On May 11, 2004, at 7:50 AM, Goh Keng Boon wrote:
Hi, is it possible to have a default value for WOToOneRelationship? For
example i'm using a to 1relationship to the table "country", i wish to
have the value default to
"US" instead of "none", anyidea how can i achieve this? thanks alot.
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.