Re: Using a text formatter on a WOBuilder WOString object
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.