• 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: Using a text formatter on a WOBuilder WOString object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using a text formatter on a WOBuilder WOString object


  • Subject: Re: Using a text formatter on a WOBuilder WOString object
  • From: Nat Fast <email@hidden>
  • Date: Tue, 17 Jun 2003 18:25:18 -0700

Unless I have misunderstood, the problem is that a to-many relationship is
being inlcuded in a keypath whenn a single object resultis wanted. Calling
valueForKey on an NSArray yields an NSArray.



Chuck is correct. The repetition is iterating over rootRec. The to many relationship is in the middle of an extensive keypath that leads to a string object.

It returns the correct value, just in the wrong format for display. While it may be "proper" to reform the database to alleviate this issue, it would remove the normalcy of data I have been pushing towards in that I would have to duplicate the values in the higher order object A. EO Modler will not allow me to create a one-to-one for the class in that the primary key is different.

So unless there is some great wisdom out there, I guess I am in Kludge land. So how do those formatters work?

Nat
_______________________________________________
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: Using a text formatter on a WOBuilder WOString object
      • From: Jonathan Rochkind <email@hidden>
    • Re: Using a text formatter on a WOBuilder WOString object
      • From: Chuck Hill <email@hidden>
References: 
 >Re: Using a text formatter on a WOBuilder WOString object (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Using a text formatter on a WOBuilder WOString object
  • Next by Date: Re: Using a text formatter on a WOBuilder WOString object
  • Previous by thread: Re: Using a text formatter on a WOBuilder WOString object
  • Next by thread: Re: Using a text formatter on a WOBuilder WOString object
  • Index(es):
    • Date
    • Thread