net.sf.tacos.ajax.components
Class DefaultListItemRenderer
java.lang.Object
net.sf.tacos.ajax.components.DefaultListItemRenderer
- All Implemented Interfaces:
- ListItemRenderer
- public class DefaultListItemRenderer
- extends Object
- implements ListItemRenderer
Default implementation of ListItemRenderer
. Simply displays
the values of each object supplied by invoking toString(). Other more
advanced renderers may add html content to the li elements or something
else as of yet not thought of.
- Author:
- jkuhnert
Method Summary |
void |
renderList(IMarkupWriter writer,
IRequestCycle cycle,
Iterator values)
Renders an unordered html list to the response, using the specified
collection of values as the contents to fill in the elements
with. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultListItemRenderer
public DefaultListItemRenderer()
renderList
public void renderList(IMarkupWriter writer,
IRequestCycle cycle,
Iterator values)
- Renders an unordered html list to the response, using the specified
collection of values as the contents to fill in the
- elements
with.
- Specified by:
renderList
in interface ListItemRenderer
- Parameters:
writer
- Markup writercycle
- tapestry cyclevalues
- List of values used to render list