Class UISelectItemsFiltered

java.lang.Object
jakarta.faces.component.UIComponent
jakarta.faces.component.UIComponentBase
jakarta.faces.component.UISelectItems
org.apache.myfaces.tobago.internal.component.AbstractUISelectItemsFiltered
org.apache.myfaces.tobago.component.UISelectItemsFiltered
All Implemented Interfaces:
jakarta.faces.component.PartialStateHolder, jakarta.faces.component.StateHolder, jakarta.faces.component.TransientStateHolder, jakarta.faces.event.ComponentSystemEventListener, jakarta.faces.event.FacesListener, jakarta.faces.event.SystemEventListenerHolder, EventListener

@Generated("component.stg") public class UISelectItemsFiltered extends AbstractUISelectItemsFiltered
The selectItemsFiltered component is based on UISelectItems but with a query attribute for server-side filtering. When used in tc:selectOneList or tc:selectManyList, the { UIComponent class, generated from template component.stg with class SelectItemsFilteredTagDeclaration.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     

    Fields inherited from class jakarta.faces.component.UIComponent

    ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, FACETS_KEY, VIEW_LOCATION_KEY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Time in milliseconds before the list will be requested (by AJAX).
     
    Label to be displayed to the user for this option.
    Value to be returned to the server if this option is selected by the user.
    Minimum number of characters to type before the list will be requested.
    Name of a variable under which the iterated data will be exposed.
    boolean
    Flag indicating whether the option created by this component is disabled.
    void
    restoreState(jakarta.faces.context.FacesContext context, Object state)
     
    void
     
    void
    setItemDisabled(boolean itemDisabled)
     
    void
    setItemLabel(String itemLabel)
     
    void
    setItemValue(Object itemValue)
     
    void
    setMinimumCharacters(Integer minimumCharacters)
     
    void
     

    Methods inherited from class org.apache.myfaces.tobago.internal.component.AbstractUISelectItemsFiltered

    getFilteredItemList, getItemList, getQuery, setQuery, updateDeferredSelectedItems, updateDeferredSelectedItems

    Methods inherited from class jakarta.faces.component.UISelectItems

    getFacesContext, getValue, setValue

    Methods inherited from class jakarta.faces.component.UIComponentBase

    addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, visitTree

    Methods inherited from class jakarta.faces.component.UIComponent

    getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • UISelectItemsFiltered

      public UISelectItemsFiltered()
  • Method Details

    • getFamily

      public String getFamily()
      Overrides:
      getFamily in class jakarta.faces.component.UISelectItems
    • getDelay

      public Integer getDelay()
      Time in milliseconds before the list will be requested (by AJAX).
      Default: 200
      Specified by:
      getDelay in class AbstractUISelectItemsFiltered
    • setDelay

      public void setDelay(Integer delay)
    • isItemDisabled

      public boolean isItemDisabled()
      Flag indicating whether the option created by this component is disabled.
      Default: false
    • setItemDisabled

      public void setItemDisabled(boolean itemDisabled)
    • getVar

      public String getVar()
      Name of a variable under which the iterated data will be exposed. It may be referred to in EL of other attributes.
    • setVar

      public void setVar(String var)
    • getMinimumCharacters

      public Integer getMinimumCharacters()
      Minimum number of characters to type before the list will be requested.
      Default: 0
      Specified by:
      getMinimumCharacters in class AbstractUISelectItemsFiltered
    • setMinimumCharacters

      public void setMinimumCharacters(Integer minimumCharacters)
    • getItemValue

      public Object getItemValue()
      Value to be returned to the server if this option is selected by the user.
    • setItemValue

      public void setItemValue(Object itemValue)
    • getItemLabel

      public String getItemLabel()
      Label to be displayed to the user for this option.
    • setItemLabel

      public void setItemLabel(String itemLabel)
    • restoreState

      public void restoreState(jakarta.faces.context.FacesContext context, Object state)
      Specified by:
      restoreState in interface jakarta.faces.component.StateHolder
      Overrides:
      restoreState in class jakarta.faces.component.UIComponentBase