Class SearchBar
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIPanel
com.webmethods.caf.faces.component.panel.BaseHideablePanel
com.webmethods.caf.faces.component.AbstractCompositeViewControl
com.webmethods.caf.faces.component.search.SearchBar
- All Implemented Interfaces:
IDynamicComponent
,IHideablePanel
,ILazyHideablePanel
,IPostPageComponentPhaseListener
,IScopedVariableComponent
,ITableRowStateHolder
,Serializable
,EventListener
,NamingContainer
,PartialStateHolder
,StateHolder
,TransientStateHolder
,ComponentSystemEventListener
,FacesListener
,PhaseListener
,SystemEventListenerHolder
- Direct Known Subclasses:
PeopleSearchBar
Search Bar JSF Component for building a search query string
- Since:
- 7.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.webmethods.caf.faces.component.AbstractCompositeViewControl
AbstractCompositeViewControl.BindingExpressionReWriter
Nested classes/interfaces inherited from class com.webmethods.caf.faces.component.panel.BaseHideablePanel
BaseHideablePanel.PropertyKeys
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
static final String
Id of the refine panel facetprotected static final String
Fields inherited from class com.webmethods.caf.faces.component.AbstractCompositeViewControl
_deferredPropertiesMap, ATTR__VIEW_LOADED, fInstanceNumber, fPrototypedPageBeanName, fViewResourcePath, PORTLET_VIEW_ID
Fields inherited from class com.webmethods.caf.faces.component.panel.BaseHideablePanel
ATTR_CENTER, ATTR_DEFAULT_COMMAND, ATTR_DEFAULT_FOCUS, ATTR_DISABLE_WHEN_HIDDEN, ATTR_HIDE_EFFECT, ATTR_HIDE_EFFECT_OPTIONS, ATTR_OPACITY, ATTR_PROGRESS_DELAY, ATTR_PROGRESS_FLASH_ON_COMPLETE, ATTR_PROGRESS_MSG, ATTR_PROGRESS_USE_HIDE_SHOW_EFFECT, ATTR_SHOW_EFFECT, ATTR_SHOW_EFFECT_OPTIONS, m_savedSuppressed, m_savedVisible, TYPE
Fields inherited from class javax.faces.component.UIPanel
COMPONENT_FAMILY, COMPONENT_TYPE
Fields inherited from class javax.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
Fields inherited from interface javax.faces.component.NamingContainer
SEPARATOR_CHAR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Apply any changes in the deferred properties map to the underlying controls.protected Serializable
Deprecated.Deprecated.usegetCancelSearchOptionsActionExpression()
insteadDeprecated.usegetChangeActiveSavedSearchActionExpression()
insteadDeprecated.usegetClearFormActionExpression()
insteadReturn the ID for the default searchbar commandReturn the ID for the searchbar control that should have the initial focusDeprecated.usegetDeleteSavedActionExpression()
insteadDeprecated.usegetPersistSearchOptionsActionExpression()
insteadDeprecated.usegetSaveQueryActionExpression()
insteadDeprecated.usegetUpdateSavedQueryActionExpression()
insteadgetValueExpression
(String name) void
Override to take care of moving the refine panel control to the correct location.void
setBuildQueryStringAction
(MethodBinding buildQueryStringMB) Deprecated.void
setBuildQueryStringActionExpression
(MethodExpression buildQueryStringMB) void
setCancelSearchOptionsAction
(MethodBinding cancelSearchOptionsAction) Deprecated.void
setCancelSearchOptionsActionExpression
(MethodExpression cancelSearchOptionsAction) void
setChangeActiveSavedSearchAction
(MethodBinding changeActiveSavedSearchAction) Deprecated.void
setChangeActiveSavedSearchActionExpression
(MethodExpression changeActiveSavedSearchAction) void
setClearFormAction
(MethodBinding clearFormMB) Deprecated.usesetClearFormActionExpression(MethodExpression)
insteadvoid
setClearFormActionExpression
(MethodExpression clearFormMB) void
setDeleteSavedAction
(MethodBinding deleteSavedMB) Deprecated.usesetDeleteSavedActionExpression(MethodExpression)
insteadvoid
setDeleteSavedActionExpression
(MethodExpression deleteSavedMB) void
setPersistSearchOptionsAction
(MethodBinding persistSearchOptionsAction) Deprecated.void
setPersistSearchOptionsActionExpression
(MethodExpression persistSearchOptionsAction) void
setSaveQueryAction
(MethodBinding saveQueryMB) Deprecated.usesetSaveQueryActionExpression(MethodExpression)
insteadvoid
setSaveQueryActionExpression
(MethodExpression saveQueryMB) void
setUpdateSavedQueryAction
(MethodBinding updateSavedQueryAction) Deprecated.void
setUpdateSavedQueryActionExpression
(MethodExpression updateSavedQueryAction) void
setValueExpression
(String name, ValueExpression expression) Methods inherited from class com.webmethods.caf.faces.component.AbstractCompositeViewControl
afterPhase, associateControlWithBean, associateControlWithBean, beforePhase, clearPageBean, encodeBegin, encodeChildren, encodeEnd, ensureEmbeddedViewIsLoaded, getDeferredPropertiesMap, getInternalPageBean, getInternalPageBean, getInternalPageBeanName, getPageNamesToReplaceInBindingExpressions, getPhaseId, getPostPagePhaseId, getScopedVariable, getScopedVariableName, importChildrenFromView, loadView, postPageAfterPhase, postPageBeforePhase, processDecodes, processEvent, processLoadView, processRestoreState, processSaveState, processUpdates, processValidators, restoreState, saveState, visitTree
Methods inherited from class com.webmethods.caf.faces.component.panel.BaseHideablePanel
decode, findSuppressed, getRendersChildren, getSuppressInputs, getTableRowState, isAncestorOrSelf, isDisableWhenHidden, isLazy, isRefreshOnShow, isTwoPass, isVisible, setDisableWhenHidden, setLazy, setRefreshOnShow, setSuppressInputs, setTableRowState, setTwoPass, setVisible
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, clearInitialState, findComponent, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, pushComponentToEL, restoreTransientState, saveTransientState, setInView
-
Field Details
-
FACET_REFINE_PANEL
Id of the refine panel facet- See Also:
-
SEARCHBAR_VIEW
- See Also:
-
CONTROL_ID_SIMPLE_SEARCH_ASYNC_GO_BUTTON
- See Also:
-
CONTROL_ID_SIMPLE_SEARCH_GO_BUTTON
- See Also:
-
CONTROL_ID_REFINED_SEARCH_GO_BUTTON
- See Also:
-
CONTROL_ID_REFINED_SEARCH_ASYNC_GO_BUTTON
- See Also:
-
CONTROL_ID_SAVE_SEARCH_ASYNC_GO_BUTTON
- See Also:
-
CONTROL_ID_SAVE_SEARCH_GO_BUTTON
- See Also:
-
CONTROL_ID_SAVE_SEARCH_QUERY_BUTTON
- See Also:
-
CONTROL_ID_CLEAR_SEARCH_FORM_BUTTON
- See Also:
-
CONTROL_ID_CHANGE_ACTIVE_SEARCH_COMMAND
- See Also:
-
CONTROL_ID_DELETE_SAVED_SEARCH_BUTTON
- See Also:
-
CONTROL_ID_UPDATE_SAVED_SEARCH_LINK
- See Also:
-
CONTROL_ID_SAVE_SEARCH_OPTIONS_BUTTON
- See Also:
-
CONTROL_ID_CANCEL_SEARCH_OPTIONS_BUTTON
- See Also:
-
-
Constructor Details
-
SearchBar
public SearchBar()
-
-
Method Details
-
getControlBean
-
createPageBean
- Specified by:
createPageBean
in classAbstractCompositeViewControl
-
getDefaultCommandId
Return the ID for the default searchbar command- Returns:
- the ID for the default searchbar command
-
getDefaultFocusId
Return the ID for the searchbar control that should have the initial focus- Returns:
- the ID for the searchbar control that should have the initial focus
-
getFacet
- Overrides:
getFacet
in classUIComponentBase
-
setBuildQueryStringAction
Deprecated.- Parameters:
buildQueryStringMB
- The buildQueryStringAction to set.
-
setBuildQueryStringActionExpression
- Parameters:
buildQueryStringMB
- The buildQueryStringAction to set.
-
getBuildQueryStringAction
Deprecated.usegetBuildQueryStringActionExpression()
instead -
getBuildQueryStringActionExpression
-
setSaveQueryAction
Deprecated.usesetSaveQueryActionExpression(MethodExpression)
instead- Parameters:
saveQueryMB
- The saveQueryMB to set.
-
setSaveQueryActionExpression
- Parameters:
saveQueryMB
- The saveQueryMB to set.
-
getSaveQueryAction
Deprecated.usegetSaveQueryActionExpression()
instead -
getSaveQueryActionExpression
-
setClearFormAction
Deprecated.usesetClearFormActionExpression(MethodExpression)
instead- Parameters:
clearFormMB
- The clearFormMB to set.
-
setClearFormActionExpression
- Parameters:
clearFormMB
- The clearFormMB to set.
-
getClearFormAction
Deprecated.usegetClearFormActionExpression()
instead -
getClearFormActionExpression
-
setChangeActiveSavedSearchAction
@Deprecated public void setChangeActiveSavedSearchAction(MethodBinding changeActiveSavedSearchAction) Deprecated.- Parameters:
changeActiveSavedSearchAction
- The changeActiveSavedSearchAction to set.
-
setChangeActiveSavedSearchActionExpression
public void setChangeActiveSavedSearchActionExpression(MethodExpression changeActiveSavedSearchAction) - Parameters:
changeActiveSavedSearchAction
- The changeActiveSavedSearchAction to set.
-
getChangeActiveSavedSearchAction
Deprecated.usegetChangeActiveSavedSearchActionExpression()
instead -
getChangeActiveSavedSearchActionExpression
-
setDeleteSavedAction
Deprecated.usesetDeleteSavedActionExpression(MethodExpression)
instead- Parameters:
deleteSavedMB
- The deleteSavedMB to set.
-
setDeleteSavedActionExpression
- Parameters:
deleteSavedMB
- The deleteSavedMB to set.
-
getDeleteSavedAction
Deprecated.usegetDeleteSavedActionExpression()
instead -
getDeleteSavedActionExpression
-
setUpdateSavedQueryAction
Deprecated.- Parameters:
updateSavedQueryAction
- The updateSavedQueryAction to set.
-
setUpdateSavedQueryActionExpression
- Parameters:
updateSavedQueryAction
- The updateSavedQueryAction to set.
-
getUpdateSavedQueryAction
Deprecated.usegetUpdateSavedQueryActionExpression()
instead -
getUpdateSavedQueryActionExpression
-
setPersistSearchOptionsAction
Deprecated.- Parameters:
persistSearchOptionsAction
- The persistSearchOptionsAction to set.
-
setPersistSearchOptionsActionExpression
- Parameters:
persistSearchOptionsAction
- The persistSearchOptionsAction to set.
-
getPersistSearchOptionsAction
Deprecated.usegetPersistSearchOptionsActionExpression()
instead -
getPersistSearchOptionsActionExpression
-
setCancelSearchOptionsAction
Deprecated.- Parameters:
cancelSearchOptionsAction
- The cancelSearchOptionsAction to set.
-
setCancelSearchOptionsActionExpression
- Parameters:
cancelSearchOptionsAction
- The cancelSearchOptionsAction to set.
-
getCancelSearchOptionsAction
Deprecated.usegetCancelSearchOptionsActionExpression()
instead -
getCancelSearchOptionsActionExpression
-
populateInitialComponents
public void populateInitialComponents()Override to take care of moving the refine panel control to the correct location.- Specified by:
populateInitialComponents
in interfaceIDynamicComponent
- Overrides:
populateInitialComponents
in classAbstractCompositeViewControl
-
applyDeferredProperties
protected void applyDeferredProperties()Apply any changes in the deferred properties map to the underlying controls.- Overrides:
applyDeferredProperties
in classAbstractCompositeViewControl
-
getAttributes
- Overrides:
getAttributes
in classUIComponentBase
-
getValueExpression
- Overrides:
getValueExpression
in classUIComponent
-
setValueExpression
- Overrides:
setValueExpression
in classUIComponent
-
getBuildQueryStringActionExpression()
instead