• 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
ComponentContent, iterator and item
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ComponentContent, iterator and item


  • Subject: ComponentContent, iterator and item
  • From: Arturo Pérez <email@hidden>
  • Date: Mon, 29 Nov 2004 22:49:10 -0500

Hi folx,

I'm trying something I haven't tried before and I'm kinda stuck. Any advice would be appreciated.

I've created a nested component that contains a WOComponentContent within a WORepetition. The content I'm envisioning is submit buttons for a form. So, basically, I pass an array to the nested component, which iterates over it creating a bunch of submit buttons for me. The action for the submit button comes from the parent component. Let's call the array barArray and the item iterator variable is aBarItem.

The question is basically: Within that parent's action how do I get the value of aBarItem the way one would if one were using just a WORepetition?

I've printed the value of parent from the nested component and it is what I would expect. But the iterator variable (aBarItem) always seems to be null.

BTW, I've read the following and although the explanation seems lucid and apropos I don't see how to apply the ideas to my situation. Maybe I'm too tired :-)
http://www.omnigroup.com/mailman/archive/webobjects-dev/2001-August/ 013696.html


--arturo

_______________________________________________
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: ComponentContent, iterator and item
      • From: Zak Burke <email@hidden>
    • Re: ComponentContent, iterator and item
      • From: Arturo Pérez <email@hidden>
  • Prev by Date: Re: Command Line Client
  • Next by Date: Re: Command Line Client
  • Previous by thread: ComponentContent, iterator and item
  • Next by thread: Re: ComponentContent, iterator and item
  • Index(es):
    • Date
    • Thread