• 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: Arturo PĂ©rez <email@hidden>
  • Date: Tue, 17 Jun 2003 21:02:13 -0400

On Tuesday, June 17, 2003, at 07:48  PM, Chuck Hill wrote:

One of the actual bound values is:
calllocation.arrivaltransit.fromberth.berth.outerharbor.othrcode
(rootRec.toOne.toMany.toOne.toOne.fieldValue)

rootRec.toOne - returns Objects
rootRec.toOne.toMany - returns NSArray
rootRec.toOne.toMany.toOne - returns NSArray
rootRec.toOne.toMany.toOne.toOne - returns NSArray
rootRec.toOne.toMany.toOne.toOne.fieldValue - returns NSArray

...
Otherwise you are going to have to plan for and deal with (e.g. take into
account in your design) the fact that rootRec.toOne.toMany is going to
return multiple values.



Something baffling me about this problem and the proposed solutions.

Say the WORepetition is bound to rootRec.toOne.toMany. Then why is there a problem?

In other words, the list variable in the WORepetition is bound to rootRec.toOne.toMany.
The iterator is bound to an instance of the objects contained in the array rootRec.toOne.toMany
(call the object class B). The WOString within the WORepetition is bound to B.toOne.toOne.fieldValue.
So how can this be causing a problem?


-------
WebObjects in Philadelphia.  You want a cheesesteak with that?
_______________________________________________
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: 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