Class AbstractAutoCompleteTextRenderer<T>

java.lang.Object
org.apache.wicket.extensions.ajax.markup.html.autocomplete.AbstractAutoCompleteRenderer<T>
org.apache.wicket.extensions.ajax.markup.html.autocomplete.AbstractAutoCompleteTextRenderer<T>
Type Parameters:
T -
All Implemented Interfaces:
Serializable, IAutoCompleteRenderer<T>, org.apache.wicket.model.IDetachable, org.apache.wicket.util.io.IClusterable
Direct Known Subclasses:
StringAutoCompleteRenderer

Base for text renderers that simply want to show a string
Since:
1.2
Author:
Igor Vaynberg (ivaynberg)
See Also:
  • Constructor Details

  • Method Details

    • renderChoice

      protected void renderChoice(T object, org.apache.wicket.request.Response response, String criteria)
      Description copied from class: AbstractAutoCompleteRenderer
      Render the visual portion of the assist. Usually the html representing the assist choice object is written out to the response use Response.write(CharSequence)

      Whatever is written to the response reaches the markup as is, without escaping. Any part of it that comes from user input or other dynamic content must be escaped before it is written, with Strings.escapeMarkup(CharSequence).

      Specified by:
      renderChoice in class AbstractAutoCompleteRenderer<T>
      Parameters:
      object - current assist choice