public class LookupInputField extends org.kuali.rice.krad.uif.field.InputField
Modifier and Type | Field and Description |
---|---|
static String |
CHECKBOX_CONVERTED_RADIO_CONTROL |
Constructor and Description |
---|
LookupInputField() |
Modifier and Type | Method and Description |
---|---|
protected static org.kuali.rice.krad.uif.control.Control |
convertControlToLookupControl(org.kuali.rice.krad.datadictionary.AttributeDefinition attributeDefinition)
If control definition is defined on the given attribute definition, converts to an appropriate control for
searching (if necessary) and returns a copy for setting on the field
|
void |
copyFromAttributeDefinition(org.kuali.rice.krad.uif.view.View view,
org.kuali.rice.krad.datadictionary.AttributeDefinition attributeDefinition)
Override of InputField copy to setup properties necessary to make the field usable for inputting
search criteria
|
protected <T> void |
copyProperties(T component) |
Map<String,String> |
filterSearchCriteria(Map<String,String> searchCriteria)
Remove any search criteria that are not part of the database lookup
|
boolean |
isAddControlSelectAllOption()
Indicates whether the option for all values (blank key, 'All' label) should be added to the lookup
field, note this is only supported for
MultiValueControl instance |
boolean |
isDisableWildcardsAndOperators() |
boolean |
isRanged()
Indicates that a field must be rendered as a from and to value
|
boolean |
isTriggerOnChange()
Indicates that the search must execute on changing of a value in the lookup input field
|
void |
performFinalize(org.kuali.rice.krad.uif.view.View view,
Object model,
org.kuali.rice.krad.uif.component.Component parent)
The following actions are performed:
Add all option if enabled and control is multi-value
|
void |
setAddControlSelectAllOption(boolean addControlSelectAllOption)
Setter for the add all option indicator
|
void |
setDisableWildcardsAndOperators(boolean disableWildcardsAndOperators) |
void |
setRanged(boolean ranged)
Setter for ranged flag to indicate this is a range field
|
void |
setTriggerOnChange(boolean triggerOnChange)
Setter for the trigger search on change flag
|
adjustMustOccurConstraintBinding, adjustPrerequisiteConstraintBinding, buildAutomaticQuickfinder, completeValidation, getAttributeQuery, getCaseConstraint, getComponentsForLifecycle, getConstraintMessage, getConstraintText, getControl, getDataType, getDependencyConstraints, getExclusiveMin, getInclusiveMax, getInstructionalMessage, getInstructionalText, getMaxLength, getMinLength, getMustOccurConstraints, getOptionsFinder, getOptionsFinderClass, getPrerequisiteConstraints, getQuickfinder, getRequired, getSimpleConstraint, getSuggest, getValidationMessages, getValidCharactersConstraint, isDisableNativeAutocomplete, isEnableAutoDirectInquiry, isEnableAutoQuickfinder, isInputAllowed, isRenderFieldset, isUppercaseValue, isWidgetInputOnly, performApplyModel, performInitialization, processReadOnlyListDisplay, setAlternateAndAdditionalDisplayValue, setAttributeQuery, setCaseConstraint, setConstraintMessage, setConstraintText, setControl, setCustomValidatorClass, setDataType, setDataType, setDependencyConstraints, setDisableNativeAutocomplete, setEnableAutoDirectInquiry, setEnableAutoQuickfinder, setExclusiveMin, setInclusiveMax, setInstructionalMessage, setInstructionalText, setMaxLength, setMinLength, setMustOccurConstraints, setOptionsFinder, setOptionsFinderClass, setQuickfinder, setRequired, setSimpleConstraint, setSuggest, setupFieldQuery, setupIds, setUppercaseValue, setValidationMessages, setValidCharactersConstraint, setWidgetInputOnly
buildAutomaticInquiry, generateReadOnlyListDisplayReplacement, getAdditionalHiddenPropertyNames, getBindingInfo, getComponentSecurityClass, getDataFieldSecurity, getDefaultValue, getDefaultValueFinderClass, getDefaultValues, getDictionaryAttributeName, getDictionaryObjectEntry, getForcedValue, getHelp, getHelpSummary, getHelpTitle, getInquiry, getMaskFormatter, getName, getPropertyEditor, getPropertyName, getPropertyNamesForAdditionalDisplay, getReadOnlyDisplayReplacement, getReadOnlyDisplayReplacementPropertyName, getReadOnlyDisplaySuffix, getReadOnlyDisplaySuffixPropertyName, getReadOnlyListDelimiter, getReadOnlyListDisplayType, hasSecureValue, isAddHiddenWhenReadOnly, isApplyMask, isEnableAutoInquiry, isEscapeHtmlInPropertyValue, isMultiLineReadOnlyDisplay, setAddHiddenWhenReadOnly, setAdditionalHiddenPropertyNames, setApplyMask, setBindingInfo, setComponentSecurity, setDefaultValue, setDefaultValueFinderClass, setDefaultValues, setDictionaryAttributeName, setDictionaryObjectEntry, setEnableAutoInquiry, setEscapeHtmlInPropertyValue, setForcedValue, setHelp, setHelpSummary, setInquiry, setMaskFormatter, setMultiLineReadOnlyDisplay, setPropertyEditor, setPropertyEditorClass, setPropertyName, setPropertyNamesForAdditionalDisplay, setReadOnlyDisplayReplacement, setReadOnlyDisplayReplacementPropertyName, setReadOnlyDisplaySuffix, setReadOnlyDisplaySuffixPropertyName, setReadOnlyListDelimiter, setReadOnlyListDisplayType, setTooltipOfComponent
getComponentTypeName, getFieldLabel, getFieldSecurity, getLabel, getLabelColSpan, getLabelPlacement, getLabelStyleClasses, getShortLabel, isLabelRendered, setFieldLabel, setLabel, setLabelColSpan, setLabelPlacement, setLabelRendered, setLabelStyleClasses, setNestedComponentIdAndSuffix, setShortLabel, setShowLabel
addCellCssClass, addDataAttribute, addDataAttributeIfNonEmpty, addStyleClass, appendToStyle, copy, getAdditionalComponentsToRefresh, getAdditionalComponentsToRefreshJs, getAdditionalCssClasses, getAlign, getBaseId, getCellCssClasses, getCellStyle, getCellStyleClassesAsString, getCellWidth, getColSpan, getComponentModifiers, getComponentPrototypes, getComponentSecurity, getConditionalRefresh, getConditionalRefreshConditionJs, getConditionalRefreshControlNames, getContext, getCssClasses, getDataAttributes, getEventHandlerScript, getFinalizeMethodAdditionalArguments, getFinalizeMethodInvoker, getFinalizeMethodToCall, getId, getLibraryCssClasses, getMethodToCallOnRefresh, getOnBlurScript, getOnChangeScript, getOnClickScript, getOnCloseScript, getOnDblClickScript, getOnDocumentReadyScript, getOnFocusScript, getOnKeyDownScript, getOnKeyPressScript, getOnKeyUpScript, getOnLoadScript, getOnMouseDownScript, getOnMouseMoveScript, getOnMouseOutScript, getOnMouseOverScript, getOnMouseUpScript, getOnSubmitScript, getOnUnloadScript, getOrder, getPostRenderContent, getPreRenderContent, getProgressiveDisclosureConditionJs, getProgressiveDisclosureControlNames, getProgressiveRender, getPropertyReplacerComponents, getPropertyReplacers, getRefreshTimer, getRefreshWhenChangedPropertyNames, getRenderedHtmlOutput, getRowSpan, getSimpleDataAttributes, getStyle, getStyleClassesAsString, getTemplate, getTemplateName, getTemplateOptions, getTemplateOptionsJSString, getTitle, getToolTip, getValign, getWidth, isDisableSessionPersistence, isDisclosedByAction, isForceSessionPersistence, isHidden, isProgressiveRenderAndRefresh, isProgressiveRenderViaAJAX, isReadOnly, isRefreshedByAction, isRender, isResetDataOnRefresh, isRetrieveViaAjax, isSelfRendered, isSkipInTabOrder, pushAllToContext, pushObjectToContext, pushToPropertyReplacerContext, setAdditionalComponentsToRefresh, setAdditionalCssClasses, setAlign, setBaseId, setCellCssClasses, setCellStyle, setCellWidth, setColSpan, setComponentModifiers, setConditionalRefresh, setContext, setCssClasses, setDataAttributes, setDisableSessionPersistence, setDisclosedByAction, setFinalizeMethodAdditionalArguments, setFinalizeMethodInvoker, setFinalizeMethodToCall, setForceSessionPersistence, setHidden, setId, setLibraryCssClasses, setMethodToCallOnRefresh, setOnBlurScript, setOnChangeScript, setOnClickScript, setOnCloseScript, setOnDblClickScript, setOnDocumentReadyScript, setOnFocusScript, setOnKeyDownScript, setOnKeyPressScript, setOnKeyUpScript, setOnLoadScript, setOnMouseDownScript, setOnMouseMoveScript, setOnMouseOutScript, setOnMouseOverScript, setOnMouseUpScript, setOnSubmitScript, setOnUnloadScript, setOrder, setPostRenderContent, setPreRenderContent, setProgressiveRender, setProgressiveRenderAndRefresh, setProgressiveRenderViaAJAX, setPropertyReplacers, setReadOnly, setRefreshedByAction, setRefreshTimer, setRefreshWhenChangedPropertyNames, setRender, setRenderedHtmlOutput, setResetDataOnRefresh, setRetrieveViaAjax, setRowSpan, setSelfRendered, setSkipInTabOrder, setStyle, setTemplate, setTemplateName, setTemplateOptions, setTemplateOptionsJSString, setTitle, setToolTip, setValign, setWidth
getExpressionGraph, getPropertyExpression, getPropertyExpressions, getRefreshExpressionGraph, setExpressionGraph, setPropertyExpressions, setRefreshExpressionGraph
getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
addCellCssClass, addDataAttribute, addStyleClass, appendToStyle, copy, getAdditionalComponentsToRefresh, getAdditionalComponentsToRefreshJs, getAdditionalCssClasses, getAlign, getBaseId, getCellCssClasses, getCellStyle, getCellWidth, getColSpan, getComponentModifiers, getComponentPrototypes, getComponentSecurity, getConditionalRefresh, getConditionalRefreshConditionJs, getConditionalRefreshControlNames, getContext, getCssClasses, getDataAttributes, getEventHandlerScript, getFinalizeMethodAdditionalArguments, getFinalizeMethodInvoker, getFinalizeMethodToCall, getId, getLibraryCssClasses, getOrder, getPostRenderContent, getPreRenderContent, getProgressiveDisclosureConditionJs, getProgressiveDisclosureControlNames, getProgressiveRender, getPropertyReplacerComponents, getPropertyReplacers, getRefreshTimer, getRefreshWhenChangedPropertyNames, getRenderedHtmlOutput, getRowSpan, getSimpleDataAttributes, getStyle, getTemplate, getTemplateName, getTemplateOptions, getTemplateOptionsJSString, getTitle, getToolTip, getValign, getWidth, isDisableSessionPersistence, isDisclosedByAction, isForceSessionPersistence, isHidden, isProgressiveRenderAndRefresh, isProgressiveRenderViaAJAX, isReadOnly, isRefreshedByAction, isRender, isResetDataOnRefresh, isRetrieveViaAjax, isSelfRendered, pushAllToContext, pushObjectToContext, setAdditionalComponentsToRefresh, setAdditionalCssClasses, setAlign, setBaseId, setCellCssClasses, setCellStyle, setCellWidth, setColSpan, setComponentModifiers, setConditionalRefresh, setContext, setCssClasses, setDataAttributes, setDisableSessionPersistence, setDisclosedByAction, setForceSessionPersistence, setHidden, setId, setLibraryCssClasses, setOrder, setPostRenderContent, setPreRenderContent, setProgressiveRender, setProgressiveRenderAndRefresh, setProgressiveRenderViaAJAX, setPropertyReplacers, setReadOnly, setRefreshedByAction, setRefreshTimer, setRefreshWhenChangedPropertyNames, setRender, setRenderedHtmlOutput, setResetDataOnRefresh, setRetrieveViaAjax, setRowSpan, setSelfRendered, setStyle, setTemplate, setTemplateName, setTemplateOptions, setTemplateOptionsJSString, setTitle, setToolTip, setValign, setWidth
getExpressionGraph, getPropertyExpression, getPropertyExpressions, getRefreshExpressionGraph, setExpressionGraph, setPropertyExpressions, setRefreshExpressionGraph
getComponentCode, getNamespaceCode
getOnBlurScript, getOnChangeScript, getOnClickScript, getOnCloseScript, getOnDblClickScript, getOnDocumentReadyScript, getOnFocusScript, getOnKeyDownScript, getOnKeyPressScript, getOnKeyUpScript, getOnLoadScript, getOnMouseDownScript, getOnMouseMoveScript, getOnMouseOutScript, getOnMouseOverScript, getOnMouseUpScript, getOnSubmitScript, getOnUnloadScript, setOnBlurScript, setOnChangeScript, setOnClickScript, setOnCloseScript, setOnDblClickScript, setOnDocumentReadyScript, setOnFocusScript, setOnKeyDownScript, setOnKeyPressScript, setOnKeyUpScript, setOnLoadScript, setOnMouseDownScript, setOnMouseMoveScript, setOnMouseOutScript, setOnMouseOverScript, setOnMouseUpScript, setOnSubmitScript, setOnUnloadScript
public static final String CHECKBOX_CONVERTED_RADIO_CONTROL
public LookupInputField()
public void performFinalize(org.kuali.rice.krad.uif.view.View view, Object model, org.kuali.rice.krad.uif.component.Component parent)
performFinalize
in interface org.kuali.rice.krad.uif.component.Component
performFinalize
in class org.kuali.rice.krad.uif.field.InputField
ComponentBase.performFinalize(org.kuali.rice.krad.uif.view.View,
java.lang.Object, org.kuali.rice.krad.uif.component.Component)
public void copyFromAttributeDefinition(org.kuali.rice.krad.uif.view.View view, org.kuali.rice.krad.datadictionary.AttributeDefinition attributeDefinition)
copyFromAttributeDefinition
in class org.kuali.rice.krad.uif.field.InputField
attributeDefinition
- AttributeDefinition instance the property values should be copied fromDataField.copyFromAttributeDefinition(org.kuali.rice.krad.uif.view.View,
org.kuali.rice.krad.datadictionary.AttributeDefinition)
protected static org.kuali.rice.krad.uif.control.Control convertControlToLookupControl(org.kuali.rice.krad.datadictionary.AttributeDefinition attributeDefinition)
attributeDefinition
- attribute definition instance to retrieve control frompublic boolean isDisableWildcardsAndOperators()
public void setDisableWildcardsAndOperators(boolean disableWildcardsAndOperators)
disableWildcardsAndOperators
- the treatWildcardsAndOperatorsAsLiteral to setpublic boolean isAddControlSelectAllOption()
MultiValueControl
instancepublic void setAddControlSelectAllOption(boolean addControlSelectAllOption)
addControlSelectAllOption
- public boolean isTriggerOnChange()
public void setTriggerOnChange(boolean triggerOnChange)
triggerOnChange
- public boolean isRanged()
public void setRanged(boolean ranged)
ranged
- public Map<String,String> filterSearchCriteria(Map<String,String> searchCriteria)
searchCriteria
- the search criteria to be filteredprotected <T> void copyProperties(T component)
copyProperties
in class org.kuali.rice.krad.uif.field.InputField
ComponentBase.copy()
Copyright © 2004–2016 The Kuali Foundation. All rights reserved.