Accessing a Dictionary with a DisplayGroup value key
Accessing a Dictionary with a DisplayGroup value key
- Subject: Accessing a Dictionary with a DisplayGroup value key
- From: Erwin <email@hidden>
- Date: Fri, 30 Jul 2004 16:22:49 +0200
I'm displaying Elements and their Details (one-to-many Feature), using
DisplayGroup
So, I use a Repetition component to display a detail WOString
WORepetition ( item : feature , list : element.features)
WOString (value : feature.feature)
It's running well ... (corresponding EOModel Entities : Element -
Feature)
I would like to modify it,to perform a search in a NSDictionary using
the feature value as a key and
displaying a corresponding string in the WOString.
I tried to bind the WOString value to an action 'featureDisplayString'
to perform the Dictionary search, but I'm stuck
element.features() return an NSArray.... for the current element
how can i get the equivalent of my WO binding in the action method ?
As u can see, I'm a newbie ... but I'm progressing a lot each day and
falling in love with WO !
thanks for ant help !
erwin
_______________________________________________
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.