Tom,

Off the top of my head, you sound like you're assigning your multiple food items to the same variable. Each basket will have to have a separate key (basket1SelectedFoodItem, basket2SelectedFoodItem, etc.) Then you would just instantiate an NSMutableArray and add the objects that have been selected. Is that what you're after?

Here's an article with a more complete solution: <http:// www.codefab.com/wordpress/index.php/category/geek-out/page/2/>

The short answer to your aside is that your hesitation has been expressed for at least the last 7 years. If WO works for you, use it. If it doesn't, well, there you go. The reason that the documentation has been minimally updated is that the technology has not significantly changed in that same time frame. This is stable stuff. I guarantee you that any questions that you have are in the archives of the mailing lists. Sometimes many times over. As you get into more advanced areas, you may have new questions. Have you looked at the wiki? <http://en.wikibooks.org/w/index.php? title=Programming:WebObjects&redirect=no> That seems to be the collection of most recent stuff.

David

--
It's like driving a car at night. You never see further than your headlights, but you can make the whole trip that way.

E. L. Doctorow

from Sunbeams: http://www.thesunmagazine.org


On 7 Mar 2007, at 9:24 AM, Tom Davis wrote:

Hi all,
I'm new to WebObjects and I need a little help. I need to iterate through a group of EO objects. I'll call them 'baskets' for example. Each basket object has a to-many relationship to foodObjects. I used a repetition to iterate through all the baskets and present a popup asking the user to select one of the foodObjects from each basket. This all works fine. The problem I'm having is that I don't know how to get the result (a foodObject) of each popup back into an array or something so my code can make decisions based on which item was selected in each basket. I assigned each WOPopup 'selection' to aSelectedFoodItem. Any help would be great. Thanks!

Just an aside. I am curious that it seems very difficult to find much support or information online or in books concerning WebObjects. Apple seems to sporadically update the little information they have at the developer site. There are only a couple books published in the last few years and not any well developed, loaded websites. Am I looking in the wrong places or is WebObjects a dying technology? Am I wasting my time pursing this technology instead of something "hot" like ruby on rails or something like that? Don't get me wrong, I think WO is the coolest fully developed solution I've ever played with. I am just afraid that Apple is going to pull the plug on it just as I'm starting to get good at it.
Tom
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/programmingosx %40mac.com

This email sent to [EMAIL PROTECTED]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to