• 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: Linking Array elements to WOComponents
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Linking Array elements to WOComponents


  • Subject: Re: Linking Array elements to WOComponents
  • From: Sacha Mallais <email@hidden>
  • Date: Tue, 22 Mar 2005 11:45:18 -0800

On Mar 22, 2005, at 11:26 am, Jeffrey Schmitz wrote:

So what is it that you then map to your WO componenet? i.e. what do you put in your wod file for each of the WOString elements?

I guess I'm surprised the wod files don't handle this better and let you put something like (I don't have the syntax of the wod files quite memorized):

...
MyString3 : WOString
  value = myStrings[2];
end

MyString4 : WOString
  value = myStrings[3];
end
...

Seems like it would be a simple and very useful thing to be able to do. I was thinking there must be something I'm missing, or some special syntax that I just didn't know, but sounds like there's no straightforward solution to what I thought would be a very simple problem.

It probably wouldn't be too hard to override valueForKey to accept such bindings...


sacha


-- Sacha Michel Mallais - 400 lb. chimp Global Village Consulting Inc.: http://www.global-village.net/ 1. Never tell everything at once. -- Ken Venturi, Ken Venturi's Two Great Rules of Life

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Linking Array elements to WOComponents
      • From: Chuck Hill <email@hidden>
References: 
 >Linking Array elements to WOComponents (From: Jeffrey Schmitz <email@hidden>)
 >Re: Linking Array elements to WOComponents (From: David LeBer <email@hidden>)
 >Re: Linking Array elements to WOComponents (From: Arturo Perez <email@hidden>)
 >Re: Linking Array elements to WOComponents (From: Jeffrey Schmitz <email@hidden>)

  • Prev by Date: Re: WOToManyRelationship issue
  • Next by Date: Re: Linking Array elements to WOComponents
  • Previous by thread: Re: Linking Array elements to WOComponents
  • Next by thread: Re: Linking Array elements to WOComponents
  • Index(es):
    • Date
    • Thread