Class Autocomplete

java.lang.Object
jakarta.faces.component.UIComponent
jakarta.faces.component.UIComponentBase
jakarta.faces.component.UINamingContainer
io.goobi.viewer.faces.components.Autocomplete
All Implemented Interfaces:
jakarta.faces.component.NamingContainer, jakarta.faces.component.PartialStateHolder, jakarta.faces.component.StateHolder, jakarta.faces.component.TransientStateHolder, jakarta.faces.component.UniqueIdVendor, jakarta.faces.event.ComponentSystemEventListener, jakarta.faces.event.FacesListener, jakarta.faces.event.SystemEventListenerHolder, EventListener

public class Autocomplete extends jakarta.faces.component.UINamingContainer
java-backend for autocomplete composite component. Handles the commandscript call with handleAutocomplete() and returns a call to the method given in the attribute 'items'
Author:
florian
  • Field Summary Link icon

    Fields inherited from class jakarta.faces.component.UINamingContainer Link icon

    COMPONENT_FAMILY, COMPONENT_TYPE, SEPARATOR_CHAR_PARAM_NAME

    Fields inherited from class jakarta.faces.component.UIComponent Link icon

    ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, FACETS_KEY, VIEW_LOCATION_KEY

    Fields inherited from interface jakarta.faces.component.NamingContainer Link icon

    SEPARATOR_CHAR
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
     
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    void
    Retrieve the request parameter 'term' from a commandscript call and return the result of a call to the method given in attribute 'items'

    Methods inherited from class jakarta.faces.component.UINamingContainer Link icon

    createUniqueId, getFamily, getSeparatorChar, visitTree

    Methods inherited from class jakarta.faces.component.UIComponentBase Link icon

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

    Methods inherited from class jakarta.faces.component.UIComponent Link icon

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

    Methods inherited from class java.lang.Object Link icon

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface jakarta.faces.component.StateHolder Link icon

    isTransient, restoreState, saveState, setTransient
  • Constructor Details Link icon

    • Autocomplete Link icon

      public Autocomplete()
  • Method Details Link icon

    • handleAutocomplete Link icon

      public void handleAutocomplete() throws IOException
      Retrieve the request parameter 'term' from a commandscript call and return the result of a call to the method given in attribute 'items'
      Throws:
      IOException