All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.wicketstuff.objectautocomplete.ObjectAutoCompleteResponseRenderer Maven / Gradle / Ivy

The newest version!
package org.wicketstuff.objectautocomplete;

import java.util.Iterator;

import org.apache.wicket.request.http.WebResponse;

/**
 * A renderer, which has complete access to the list of choices and which is free to create a (more
 * structured) drop down list. It is the responsibility of this renderer to add <li> elements
 * with proper idvalue and textvalues attributes reflecting
 * 
 * @author roland
 * @since Sep 26, 2008
 */
public abstract class ObjectAutoCompleteResponseRenderer extends
	AbstractObjectAutoCompleteRenderer
{
	private static final long serialVersionUID = 1L;

	/**
	 * Render the provided components on the given response
	 * 
	 * @param pComps
	 *            the components to render
	 * @param pResponse
	 *            response to write to
	 * @param pInput
	 *            input search string
	 */
	abstract public void onRequest(Iterator pComps, WebResponse pResponse, String pInput);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy