public class AutoCompleteRenderer extends AutoCompleteRendererBase
ACTIVATE_FIRST_ITEM, CIRCULAR, CLIENT_FILTER_TYPE, CLIENT_KEY, HEIGHT, LIST_ITEM_REQUIRED, MAX_RESULTS, MIN_QUERY_LENGTH, MODULES, QUERY_DELAY, QUERY_DELIMITER, RESULT_FILTERS, RESULT_HIGHLIGHTER, SCROLL_INTO_VIEW, SERVER_CUSTOM_FILTER, SERVER_FILTER_TYPE, TAB_SELECT, WIDTHBOUNDING_BOX, CONTENT_BOX, LIFERAY_Z_INDEX_OVERLAY, LIFERAY_Z_INDEX_TOOLTIP| Constructor and Description |
|---|
AutoCompleteRenderer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
encodeClientFilterType(javax.faces.context.ResponseWriter responseWriter,
AutoComplete autoComplete,
String clientFilterType,
boolean first) |
protected void |
encodeHiddenAttributes(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter responseWriter,
AutoComplete autoComplete,
boolean first) |
protected void |
encodeHiddenAttributeSource(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter responseWriter,
AutoComplete autoComplete,
boolean first) |
void |
encodeJavaScript(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
This method is being overridden in order to allow server-side filtering of autoComplete items when server-side
filtering is enabled during an Ajax request and there is a query.
|
void |
encodeJavaScriptCustom(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent) |
void |
encodeMarkupBegin(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent) |
void |
encodeMarkupEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent) |
protected void |
encodeQueryDelimiter(javax.faces.context.ResponseWriter responseWriter,
AutoComplete autoComplete,
String delimiter,
boolean first) |
protected void |
encodeResultFilters(javax.faces.context.ResponseWriter responseWriter,
AutoComplete autoComplete,
String clientCustomFilter,
boolean first) |
String[] |
getModules(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent) |
protected List<String> |
invokeServerCustomFilter(javax.el.ELContext elContext,
javax.el.MethodExpression methodExpression,
String query,
List<String> items) |
protected boolean |
isAjaxFiltering(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent) |
protected boolean |
isServerFilteringEnabled(AutoComplete autoComplete) |
protected boolean |
isServerFilteringEnabled(javax.faces.component.UIComponent uiComponent) |
encodeActivateFirstItem, encodeAlloyAttributes, encodeCircular, encodeHeight, encodeListItemRequired, encodeMaxResults, encodeMinQueryLength, encodeQueryDelay, encodeResultHighlighter, encodeScrollIntoView, encodeTabSelect, encodeWidth, getAlloyClassName, getDelegateComponentFamily, getDelegateRendererTypedecode, decodeClientBehaviors, encodeBoolean, encodeClientId, encodeClientId, encodeEventCallback, encodeInteger, encodeJavaScriptBegin, encodeJavaScriptEnd, encodeJavaScriptMain, encodeLiferayComponentVar, encodeNonEscapedObject, encodeString, encodeWidgetRender, getClientVarName, getYUIConfig, isSandboxed, renderScriptconvertClientId, encodeAll, encodeAll, encodeBegin, encodeBegin, encodeChildren, encodeChildren, encodeEnd, encodeEnd, encodeMarkupBegin, encodeMarkupEnd, getConvertedValue, getDelegateRenderer, getRendersChildrendecodeClientState, encodeBooleanProperty, encodeClientIdProperty, encodeClientIdProperty, encodeClientState, encodeFunctionCall, encodeIntegerProperty, encodeNonEscapedObjectProperty, encodeStringPropertypublic void encodeJavaScript(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
throws IOException
encodeJavaScript in interface com.liferay.faces.util.render.ClientComponentRendererencodeJavaScript in class DelegatingAlloyRendererBaseIOExceptionpublic void encodeJavaScriptCustom(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
throws IOException
encodeJavaScriptCustom in interface AlloyRendererencodeJavaScriptCustom in class DelegatingAlloyRendererBaseIOExceptionpublic void encodeMarkupBegin(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
throws IOException
encodeMarkupBegin in interface com.liferay.faces.util.render.ClientComponentRendererencodeMarkupBegin in class com.liferay.faces.util.render.DelegatingClientComponentRendererBaseIOExceptionpublic void encodeMarkupEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
throws IOException
encodeMarkupEnd in interface com.liferay.faces.util.render.ClientComponentRendererencodeMarkupEnd in class com.liferay.faces.util.render.DelegatingClientComponentRendererBaseIOExceptionpublic String[] getModules(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent)
getModules in interface AlloyRenderergetModules in class AutoCompleteRendererBaseprotected void encodeClientFilterType(javax.faces.context.ResponseWriter responseWriter,
AutoComplete autoComplete,
String clientFilterType,
boolean first)
throws IOException
encodeClientFilterType in class AutoCompleteRendererBaseIOExceptionprotected void encodeHiddenAttributes(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter responseWriter,
AutoComplete autoComplete,
boolean first)
throws IOException
encodeHiddenAttributes in class AutoCompleteRendererBaseIOExceptionprotected void encodeHiddenAttributeSource(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter responseWriter,
AutoComplete autoComplete,
boolean first)
throws IOException
IOExceptionprotected void encodeQueryDelimiter(javax.faces.context.ResponseWriter responseWriter,
AutoComplete autoComplete,
String delimiter,
boolean first)
throws IOException
encodeQueryDelimiter in class AutoCompleteRendererBaseIOExceptionprotected void encodeResultFilters(javax.faces.context.ResponseWriter responseWriter,
AutoComplete autoComplete,
String clientCustomFilter,
boolean first)
throws IOException
encodeResultFilters in class AutoCompleteRendererBaseIOExceptionprotected List<String> invokeServerCustomFilter(javax.el.ELContext elContext, javax.el.MethodExpression methodExpression, String query, List<String> items)
protected boolean isAjaxFiltering(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
protected boolean isServerFilteringEnabled(AutoComplete autoComplete)
protected boolean isServerFilteringEnabled(javax.faces.component.UIComponent uiComponent)
Copyright © 2016 Liferay, Inc.. All rights reserved.