net.sf.tacos.demo.partial
Class CountryFlagRenderer

java.lang.Object
  extended bynet.sf.tacos.demo.partial.CountryFlagRenderer
All Implemented Interfaces:
ListItemRenderer

public class CountryFlagRenderer
extends Object
implements ListItemRenderer

Demonstrates rendering more than just string values for Autocompleter components.

Author:
jkuhnert

Constructor Summary
CountryFlagRenderer()
           
 
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
     

    Constructor Detail

    CountryFlagRenderer

    public CountryFlagRenderer()
    Method Detail

    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 writer
    cycle - tapestry cycle
    values - List of values used to render list