• 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
Re: non-linear worepetition
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: non-linear worepetition
      • From: Michael Engelhart <email@hidden>
References: 
 >non-linear worepetition (From: Michael Engelhart <email@hidden>)

  • Prev by Date: Re: lean EO's
  • Next by Date: Re: More EOModeler Insanity (and another issue)
  • Previous by thread: non-linear worepetition
  • Next by thread: Re: non-linear worepetition
  • Index(es):
    • Date
    • Thread