• 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
Accessing a Dictionary with a DisplayGroup value key
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Prev by Date: Re: how do i say that in EOModeler
  • Next by Date: Re: AW: Dreamweaver translator extension for WebObjects
  • Previous by thread: Re: how do i say that in EOModeler
  • Next by thread: An example for work with WSDL
  • Index(es):
    • Date
    • Thread