org.apache.myfaces.custom.suggestajax.inputsuggestajax
Class InputSuggestAjaxRenderer

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
                      extended by org.apache.myfaces.custom.suggestajax.inputsuggestajax.InputSuggestAjaxRenderer
All Implemented Interfaces:
AjaxRenderer, AjaxSuggestRenderer

public class InputSuggestAjaxRenderer
extends SuggestAjaxRenderer
implements AjaxRenderer

Version:
$Revision: 674280 $ $Date: 2008-07-06 05:09:28 -0500 (Sun, 06 Jul 2008) $
Author:
Gerald Müllan, Martin Marinschek

Field Summary
 
Fields inherited from class org.apache.myfaces.custom.suggestajax.SuggestAjaxRenderer
DEFAULT_MAX_SUGGESTED_ITEMS
 
Constructor Summary
InputSuggestAjaxRenderer()
           
 
Method Summary
 void decode(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
           
 void encodeAjax(javax.faces.context.FacesContext context, javax.faces.component.UIComponent uiComponent)
           
 void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
protected  java.lang.String encodeSuggestString(java.lang.String str)
           
protected  javax.faces.convert.Converter getRequiredConverter(javax.faces.context.FacesContext context, org.apache.myfaces.custom.suggestajax.inputsuggestajax.InputSuggestAjax inputSuggestAjax)
           
 
Methods inherited from class org.apache.myfaces.custom.suggestajax.SuggestAjaxRenderer
addQueryString, getSuggestedItems
 
Methods inherited from class org.apache.myfaces.renderkit.html.ext.HtmlTextRenderer
createOnChangeListenerJS, 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
 

Constructor Detail

InputSuggestAjaxRenderer

public InputSuggestAjaxRenderer()
Method Detail

encodeEnd

public void encodeEnd(javax.faces.context.FacesContext context,
                      javax.faces.component.UIComponent component)
               throws java.io.IOException
Overrides:
encodeEnd in class HtmlTextRenderer
Throws:
java.io.IOException

getRequiredConverter

protected javax.faces.convert.Converter getRequiredConverter(javax.faces.context.FacesContext context,
                                                             org.apache.myfaces.custom.suggestajax.inputsuggestajax.InputSuggestAjax inputSuggestAjax)

encodeAjax

public void encodeAjax(javax.faces.context.FacesContext context,
                       javax.faces.component.UIComponent uiComponent)
                throws java.io.IOException
Specified by:
encodeAjax in interface AjaxRenderer
Throws:
java.io.IOException

encodeSuggestString

protected java.lang.String encodeSuggestString(java.lang.String str)

decode

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


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