Re: Linking Array elements to WOComponents
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