org.apache.myfaces.custom.suggestajax
Class SuggestAjaxRenderer

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRenderer
          extended by org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlTextRendererBase
              extended by org.apache.myfaces.renderkit.html.ext.HtmlTextRenderer
                  extended by org.apache.myfaces.custom.suggestajax.SuggestAjaxRenderer
All Implemented Interfaces:
AjaxSuggestRenderer
Direct Known Subclasses:
InputSuggestAjaxRenderer, TableSuggestAjaxRenderer

public class SuggestAjaxRenderer
extends HtmlTextRenderer
implements AjaxSuggestRenderer

Version:
$Revision: 673833 $ $Date: 2008-07-03 16:58:05 -0500 (Thu, 03 Jul 2008) $
Author:
Gerald Muellan, Martin Marinschek

Field Summary
static int DEFAULT_MAX_SUGGESTED_ITEMS
           
 
Constructor Summary
SuggestAjaxRenderer()
           
 
Method Summary
protected  java.lang.String addQueryString(java.lang.String url, java.lang.String queryString)
           
 void decode(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
           
 java.util.Collection getSuggestedItems(javax.faces.context.FacesContext context, javax.faces.component.UIComponent uiComponent)
           
 
Methods inherited from class org.apache.myfaces.renderkit.html.ext.HtmlTextRenderer
createOnChangeListenerJS, encodeEnd, getOnChangeFunctionName, isDisabled, isDisabledOnClientSide, renderHiddenInput, renderInput, renderInputValueOnly, renderNormal
 
Methods inherited from class org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlTextRendererBase
getConvertedValue, isAutocompleteOff, renderOutput, renderOutputText
 
Methods inherited from class org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRenderer
getActionUrl, getChildCount, getChildren, getClientId, renderId, shouldRenderId, toUri
 
Methods inherited from class javax.faces.render.Renderer
convertClientId, encodeBegin, encodeChildren, getRendersChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_MAX_SUGGESTED_ITEMS

public static final int DEFAULT_MAX_SUGGESTED_ITEMS
See Also:
Constant Field Values
Constructor Detail

SuggestAjaxRenderer

public SuggestAjaxRenderer()
Method Detail

getSuggestedItems

public java.util.Collection getSuggestedItems(javax.faces.context.FacesContext context,
                                              javax.faces.component.UIComponent uiComponent)
Specified by:
getSuggestedItems in interface AjaxSuggestRenderer

decode

public void decode(javax.faces.context.FacesContext facesContext,
                   javax.faces.component.UIComponent component)
Overrides:
decode in class HtmlTextRenderer

addQueryString

protected java.lang.String addQueryString(java.lang.String url,
                                          java.lang.String queryString)


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.