net.sf.tacos.ajax.components
Class DefaultListItemRenderer

java.lang.Object
  extended by 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

Constructor Summary
DefaultListItemRenderer()
           
 
Method Summary
 void renderList(org.apache.tapestry.IMarkupWriter writer, org.apache.tapestry.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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultListItemRenderer

public DefaultListItemRenderer()
Method Detail

renderList

public void renderList(org.apache.tapestry.IMarkupWriter writer,
                       org.apache.tapestry.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 writer
    cycle - tapestry cycle
    values - List of values used to render list