WebObjects/Web Applications/Development/Examples/List Components

So you have a title and a "list" of objects. The list has a minimum and maximum number of objects to display. If there is "too many" objects there is a "more..." link.

Here is the html:

       more...

And here is the wod:

HasData: WOConditional { condition = hasData; }; Title: SpanString { value = title.toUpperCase; isSmall = true; isBold = true; class = "Label"; }; Items: WORepetition { count = count; index = index; }; Item: SZLink { value = item; description = description; altDescription = altDescription; href = href; pageName = pageName; isSmall = true; class = "Label"; }; HasMore: WOConditional { condition = hasMore; }; MoreCount: SpanString { value = moreCount; }; MoreLink: WOHyperlink { action = displayMore; };