Re: non-linear worepetition
Re: non-linear worepetition
- Subject: Re: non-linear worepetition
- From: "Arturo Perez" <email@hidden>
- Date: Fri, 13 Aug 2004 10:56:17 -0400
Michael Engelhart wrote:
So my question is how to best generate a WOHyperlink in each cell that
points to the object that is referenced by that cells key.
Hi Mike,
Isn't it just the standard repetition thing? You'd need two
repetitions, one to iterate across rows and the other to iterate down
columns. The second one has an item variable called currentFoo. You
can bind that to a hyperlink action method.
public WOComponent fooAction {
// Object currentFoo set by repetition.
currentFoo.manipulate()
WOComponent woc = pageWithName("updateFoo");
woc.takeValueForKey(currentFoo, "theFoo");
return woc;
}
I think that's what you're asking.
-arturo
_______________________________________________
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.