Stumped by nonfunctioning repetition
Stumped by nonfunctioning repetition
- Subject: Stumped by nonfunctioning repetition
- From: Arturo PĂ©rez <email@hidden>
- Date: Sat, 20 Mar 2004 22:55:15 -0500
I've done this a million times but it's not happening for me tonight.
I have a WORepetition. It's bound to an array of things. As it loops
through that array it generates a WOHyperlink for each item which is
bound to an action. Call the array of things thingArray. Call the
iterator variable thingItem. Call the action thingAction. The action
looks something like
public WOComponent thingAction() {
return pageWithName(thingItem.pageName());
}
Page gets generated - everything looks gorgeous. User clicks on one of
the above hyperlinks. thingItem gets set to null and makes me very
unhappy.
I've done a ton of things this way and never had a problem. Panther
10.3.2, Java 1.4.1, WO 5.2.2.
What am I doing wrong? Am I incorrect in thinking that thingItem
should be set to the value it had when the WOHyperlink was generated?
Thanks in advance.
----
WO in philadelphia - wanna cheesesteak with that?
Please visit webobjects.meetup.com.
_______________________________________________
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.