• 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: initiate content of NSArray
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: initiate content of NSArray
      • From: Art Isbell <email@hidden>
References: 
 >initiate content of NSArray (From: Goh Keng Boon <email@hidden>)
 >Re: initiate content of NSArray (From: wojingo <email@hidden>)

  • Prev by Date: Using Webservices
  • Next by Date: ".jar" Plugins to a WebObjects application?
  • Previous by thread: Re: initiate content of NSArray
  • Next by thread: Re: initiate content of NSArray
  • Index(es):
    • Date
    • Thread