Re: initiate content of NSArray
Re: initiate content of NSArray
- Subject: Re: initiate content of NSArray
- From: Goh Keng Boon <email@hidden>
- Date: Wed, 23 Jun 2004 09:48:56 +0800
Hi can you explain in detail how to do that?
I've already fetch all content into an NSArray and bind this array to
List of WORepetition, i need to set value for one of the attribute
inside that NSArray(for every record),
so i'm not sure how to set that? Am i going to loop through the NSArray
to set them record by record?
KB
On 22-Jun-04, at 11:52 PM, wojingo wrote:
Hi,
I think you could use awakeFromFetch(called for you when fetched from
DB:) and awakeFromInsertion (called for you when its inserted into an
editingContext).
HTH.
regards
-
shaun
On Tue, 2004-06-22 at 21:36, Goh Keng Boon wrote:
Hi,
I got this EO called "Invoice" and it has a to many relationship with
"InvoiceItem"
By using "Invoice", i'm able to display all then content and put
Invoice.relationwithinvoiceitem in the List of WORepetition
as well as anInvoiceItem in the item of WORepetition
I would like to set some value to every anInvoiceItem, so that after
it
listed by the WORepetition, there will have some default
values there, may i know how can i do that? 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.
_______________________________________________
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.
_______________________________________________
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.