ComponentContent, iterator and item
ComponentContent, iterator and item
- Subject: ComponentContent, iterator and item
- From: Arturo PĂ©rez <email@hidden>
- Date: Sun, 28 Nov 2004 01:21:49 -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