On 03.09.2007, at 09:52, Sigurður E. Vilhelmsson wrote:
Yes, that would probably be the way to go, but how do I wrap the
repetition around the different menu divs?
Get the stuff into an array:
// define an ivar just for the list (make it private, but that's too
long here)
public NSArray listOfEntries;
// for iterating over the list
public MenuEntry currentEntry;
// get the entries:
listOfEntries = EOUtilities.objectsForEntityNamed(editingContext,
"MenuEntry");
in the html (inline notation):
<wo:loop list="$listOfEntries" item="$entry">
<wo:WOGenericContainer elementName="div" id="$entry.buttonId">
<wo:link pageName = "$entry.pageName" string="$entry.name" />
</wo:WOGenericContainer>
</wo:loop>
Or similar, that is just written down here in mail, so no guarantees.
cug _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]