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: Nat Fast <email@hidden>
- Date: Tue, 17 Jun 2003 16:06:52 -0700
One of the actual bound values is:
calllocation.arrivaltransit.fromberth.berth.outerharbor.othrcode
(rootRec.toOne.toMany.toOne.toOne.fieldValue)
So what am I missing that would allow me to format it?
Something's wrong with this implementation then. Because a to-many
relationship is involved, multiple values can be returned yet you've
bound the returned array to a WOString. If the returned value is an
array, a WOBrowser, WOPopupButton, or a WORepetition of WOStrings
would be examples of ways to display the values with no need for
formatting.
The return fieldValue is a string that I guess is being translated into
an array because of the toMany relationship in the center, correct?
I am attempting to format for printing, so an alternate component is a
poor choice if it has visible display elements. Would constructing my
own component to parse the text be easier than using the formatter
binding on the WOString component?
Thanks again,
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.