Package org.kuali.rice.krad.uif.field
Class ActionField
- All Implemented Interfaces:
Serializable,Cloneable,Copyable,DictionaryBean,UifDictionaryBean,Component,Ordered,ScriptEventSupport,Field,LifecycleElement,org.springframework.core.Ordered
Field that encloses an @{link org.kuali.rice.krad.uif.element.Action} element
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Field Summary
Fields inherited from class org.kuali.rice.krad.uif.component.ComponentBase
templateOptionsFields inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase
componentCode, namespaceCodeFields inherited from interface org.kuali.rice.krad.uif.component.Ordered
INITIAL_ORDER_VALUEFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddActionParameter(String parameterName, String parameterValue) voidcompleteValidation(ValidationTrace tracer) Validates different requirements of component compiling a series of reports detailing information on errors found in the component.Nested action component.Delegates toAction.getActionEvent().DelegatesactionImageproperty reference to the action.DelegatesactionLabelproperty reference to the action.getActionParameter(String parameterName) DelegatesmethodToCallproperty reference to the action.Delegates toAction.getNavigateToPageId().booleanbooleanbooleanbooleanbooleanvoidperformFinalize(Object model, LifecycleElement parent) PerformFinalize override - calls super, corrects the field's Label for attribute to point to this field's content.voidSetter for the nested action component.voidsetActionEvent(String actionEvent) Setter forAction.setActionEvent(java.lang.String).voidsetActionImage(Image actionImage) DelegatesactionImageproperty reference to the action.voidsetActionImagePlacement(String actionImageLocation) voidsetActionLabel(String actionLabel) DelegatesactionLabelproperty reference to the action.voidsetActionParameters(Map<String, String> actionParameters) Setter forgetActionParameters()voidsetActionScript(String actionScript) voidsetAdditionalSubmitData(Map<String, String> additionalSubmitData) Setter forgetAdditionalSubmitData()voidsetAjaxSubmit(boolean ajaxSubmit) voidsetDisableBlocking(boolean disableBlocking) voidsetDisabled(boolean disabled) voidsetDisabledReason(String disabledReason) voidsetErrorCallback(String errorCallback) voidsetFocusOnIdAfterSubmit(String focusOnAfterSubmit) voidsetJumpToIdAfterSubmit(String jumpToIdAfterSubmit) voidsetJumpToNameAfterSubmit(String jumpToNameAfterSubmit) voidsetMethodToCall(String methodToCall) DelegatesmethodToCallproperty reference to the action.voidsetNavigateToPageId(String navigateToPageId) Setter forAction.setNavigateToPageId(java.lang.String).voidsetPerformClientSideValidation(boolean clientSideValidate) voidsetPerformDirtyValidation(boolean blockValidateDirty) voidsetPreSubmitCall(String preSubmitCall) voidsetRefreshId(String refreshId) voidsetSuccessCallback(String successCallback) Methods inherited from class org.kuali.rice.krad.uif.field.FieldBase
afterEvaluateExpression, getComponentTypeName, getFieldLabel, getFieldSecurity, getLabel, getLabelColSpan, getLabelStyleClasses, getShortLabel, initializeComponentSecurity, isEditInLineAuthz, isLabelLeft, isLabelRendered, isViewInLineAuthz, performApplyModel, setComponentSecurity, setEditInLineAuthz, setFieldLabel, setLabel, setLabelColSpan, setLabelLeft, setLabelRendered, setLabelStyleClasses, setNestedComponentIdAndSuffix, setShortLabel, setShowLabel, setViewInLineAuthzMethods inherited from class org.kuali.rice.krad.uif.component.ComponentBase
addAriaAttribute, addDataAttribute, addScriptDataAttribute, addStyleClass, addWrapperCssClass, appendToStyle, checkMutable, clone, getAdditionalComponentsToRefresh, getAdditionalComponentsToRefreshJs, getAdditionalCssClasses, getAdditionalTemplates, getAlign, getAriaAttributes, getAriaAttributesAsString, getCanCopyOnReadOnly, getCellWidth, getColSpan, getComponentModifiers, getComponentSecurity, getConditionalRefresh, getConditionalRefreshConditionJs, getConditionalRefreshControlNames, getContainerIdSuffix, getContext, getCssClasses, getCssGridSizes, getDataAttributes, getEventHandlerScript, getExcludeIf, getExcludeUnless, getFieldsToSendOnRefresh, getFinalizeMethodAdditionalArguments, getFinalizeMethodInvoker, getFinalizeMethodToCall, getId, getLibraryCssClasses, getMethodToCallOnRefresh, getOnBlurScript, getOnChangeScript, getOnClickScript, getOnCloseScript, getOnDblClickScript, getOnDocumentReadyScript, getOnFocusScript, getOnInputScript, getOnKeyDownScript, getOnKeyPressScript, getOnKeyUpScript, getOnLoadScript, getOnMouseDownScript, getOnMouseMoveScript, getOnMouseOutScript, getOnMouseOverScript, getOnMouseUpScript, getOnSubmitScript, getOnUnloadScript, getOrder, getPhasePathMapping, getPostRenderContent, getPreRenderContent, getProgressiveDisclosureConditionJs, getProgressiveDisclosureControlNames, getProgressiveRender, getPropertyReplacerComponents, getPropertyReplacers, getReadOnly, getRefreshTimer, getRefreshWhenChangedPropertyNames, getRenderedHtmlOutput, getRequired, getRole, getRowSpan, getScriptDataAttributes, getScriptDataAttributesJs, getSimpleDataAttributes, getStyle, getStyleClassesAsString, getTemplate, getTemplateName, getTemplateOptions, getTemplateOptionsJSString, getTitle, getToolTip, getValign, getViewPath, getViewStatus, getWidth, getWrapperCssClasses, getWrapperCssClassesAsString, getWrapperStyle, isDisableSessionPersistence, isDisclosedByAction, isEditAuthz, isFinal, isForceSessionPersistence, isHidden, isInitialized, isModelApplied, isMutable, isOmitFromFormPost, isProgressiveRenderAndRefresh, isProgressiveRenderViaAJAX, isRefreshedByAction, isRender, isRendered, isResetDataOnRefresh, isRetrieveViaAjax, isSelfRendered, isSkipInTabOrder, isViewAuthz, notifyCompleted, performInitialization, pushAllToContext, pushObjectToContext, pushToPropertyReplacerContext, setAdditionalComponentsToRefresh, setAdditionalCssClasses, setAlign, setAriaAttributes, setCanCopyOnReadOnly, setCellWidth, setColSpan, setComponentModifiers, setConditionalRefresh, setContainerIdSuffix, setContext, setCssClasses, setCssGridSizes, setDataAttributes, setDisableSessionPersistence, setDisclosedByAction, setEditAuthz, setExcludeIf, setExcludeUnless, setFieldsToSendOnRefresh, setFinalizeMethodAdditionalArguments, setFinalizeMethodInvoker, setFinalizeMethodToCall, setForceSessionPersistence, setHidden, setId, setLibraryCssClasses, setMethodToCallOnRefresh, setOmitFromFormPost, setOnBlurScript, setOnChangeScript, setOnClickScript, setOnCloseScript, setOnDblClickScript, setOnDocumentReadyScript, setOnFocusScript, setOnInputScript, setOnKeyDownScript, setOnKeyPressScript, setOnKeyUpScript, setOnLoadScript, setOnMouseDownScript, setOnMouseMoveScript, setOnMouseOutScript, setOnMouseOverScript, setOnMouseUpScript, setOnSubmitScript, setOnUnloadScript, setOrder, setPhasePathMapping, setPostRenderContent, setPreRenderContent, setProgressiveRender, setProgressiveRenderAndRefresh, setProgressiveRenderViaAJAX, setPropertyReplacers, setReadOnly, setRefreshedByAction, setRefreshTimer, setRefreshWhenChangedPropertyNames, setRender, setRenderedHtmlOutput, setRequired, setResetDataOnRefresh, setRetrieveViaAjax, setRole, setRowSpan, setScriptDataAttributes, setSelfRendered, setSkipInTabOrder, setStyle, setTemplate, setTemplateName, setTemplateOptions, setTemplateOptionsJSString, setTitle, setToolTip, setValign, setViewAuthz, setViewPath, setViewStatus, setWidth, setWrapperCssClasses, setWrapperStyle, skipLifecycleMethods inherited from class org.kuali.rice.krad.datadictionary.uif.UifDictionaryBeanBase
getExpressionGraph, getPropertyExpression, getPropertyExpressions, setExpressionGraph, setPropertyExpressionsMethods inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase
copy, dataDictionaryPostProcessing, getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCodeMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kuali.rice.krad.uif.component.Component
addAriaAttribute, addDataAttribute, addScriptDataAttribute, addStyleClass, addWrapperCssClass, appendToStyle, getAdditionalComponentsToRefresh, getAdditionalComponentsToRefreshJs, getAdditionalCssClasses, getAdditionalTemplates, getAlign, getAriaAttributes, getAriaAttributesAsString, getCanCopyOnReadOnly, getCellWidth, getColSpan, getComponentModifiers, getComponentSecurity, getConditionalRefresh, getConditionalRefreshConditionJs, getConditionalRefreshControlNames, getContext, getCssClasses, getCssGridSizes, getDataAttributes, getEventHandlerScript, getExcludeIf, getExcludeUnless, getFieldsToSendOnRefresh, getFinalizeMethodAdditionalArguments, getFinalizeMethodInvoker, getFinalizeMethodToCall, getLibraryCssClasses, getMethodToCallOnRefresh, getOrder, getPostRenderContent, getPreRenderContent, getProgressiveDisclosureConditionJs, getProgressiveDisclosureControlNames, getProgressiveRender, getPropertyReplacerComponents, getPropertyReplacers, getReadOnly, getRefreshTimer, getRefreshWhenChangedPropertyNames, getRenderedHtmlOutput, getRequired, getRole, getRowSpan, getScriptDataAttributes, getScriptDataAttributesJs, getSimpleDataAttributes, getStyle, getStyleClassesAsString, getTemplate, getTemplateName, getTemplateOptions, getTemplateOptionsJSString, getTitle, getToolTip, getValign, getWidth, getWrapperCssClasses, getWrapperStyle, isDisableSessionPersistence, isDisclosedByAction, isForceSessionPersistence, isHidden, isOmitFromFormPost, isProgressiveRenderAndRefresh, isProgressiveRenderViaAJAX, isRefreshedByAction, isRendered, isResetDataOnRefresh, isRetrieveViaAjax, isSelfRendered, setAdditionalComponentsToRefresh, setAdditionalCssClasses, setAlign, setAriaAttributes, setCanCopyOnReadOnly, setCellWidth, setColSpan, setComponentModifiers, setConditionalRefresh, setContext, setCssClasses, setCssGridSizes, setDataAttributes, setDisableSessionPersistence, setDisclosedByAction, setFieldsToSendOnRefresh, setForceSessionPersistence, setHidden, setLibraryCssClasses, setOmitFromFormPost, setOrder, setPostRenderContent, setPreRenderContent, setProgressiveRender, setProgressiveRenderAndRefresh, setProgressiveRenderViaAJAX, setPropertyReplacers, setReadOnly, setRefreshedByAction, setRefreshTimer, setRefreshWhenChangedPropertyNames, setRenderedHtmlOutput, setRequired, setResetDataOnRefresh, setRetrieveViaAjax, setRole, setRowSpan, setScriptDataAttributes, setSelfRendered, setStyle, setTemplate, setTemplateName, setTemplateOptions, setTemplateOptionsJSString, setTitle, setToolTip, setValign, setViewStatus, setWidth, setWrapperCssClasses, setWrapperStyleMethods inherited from interface org.kuali.rice.krad.datadictionary.DictionaryBean
dataDictionaryPostProcessing, getComponentCode, getNamespaceCodeMethods inherited from interface org.kuali.rice.krad.uif.util.LifecycleElement
checkMutable, getContainerIdSuffix, getId, getPhasePathMapping, getViewPath, getViewStatus, isFinal, isInitialized, isModelApplied, isMutable, isRender, notifyCompleted, performInitialization, pushAllToContext, pushObjectToContext, setContainerIdSuffix, setId, setPhasePathMapping, setRender, setViewPath, skipLifecycleMethods inherited from interface org.kuali.rice.krad.uif.component.ScriptEventSupport
getOnBlurScript, getOnChangeScript, getOnClickScript, getOnCloseScript, getOnDblClickScript, getOnDocumentReadyScript, getOnFocusScript, getOnInputScript, getOnKeyDownScript, getOnKeyPressScript, getOnKeyUpScript, getOnLoadScript, getOnMouseDownScript, getOnMouseMoveScript, getOnMouseOutScript, getOnMouseOverScript, getOnMouseUpScript, getOnSubmitScript, getOnUnloadScript, setOnBlurScript, setOnChangeScript, setOnClickScript, setOnCloseScript, setOnDblClickScript, setOnDocumentReadyScript, setOnFocusScript, setOnInputScript, setOnKeyDownScript, setOnKeyPressScript, setOnKeyUpScript, setOnLoadScript, setOnMouseDownScript, setOnMouseMoveScript, setOnMouseOutScript, setOnMouseOverScript, setOnMouseUpScript, setOnSubmitScript, setOnUnloadScriptMethods inherited from interface org.kuali.rice.krad.datadictionary.uif.UifDictionaryBean
getExpressionGraph, getPropertyExpression, getPropertyExpressions, setExpressionGraph, setPropertyExpressions
-
Constructor Details
-
ActionField
public ActionField()Initializes wrapped action instance.
-
-
Method Details
-
performFinalize
PerformFinalize override - calls super, corrects the field's Label for attribute to point to this field's content.- Specified by:
performFinalizein interfaceLifecycleElement- Overrides:
performFinalizein classFieldBase- Parameters:
model- the modelparent- the parent component
-
getAction
Nested action component.- Returns:
- Action instance
-
setAction
Setter for the nested action component.- Parameters:
action- property value
-
getMethodToCall
DelegatesmethodToCallproperty reference to the action.- Returns:
- method to call
- See Also:
-
setMethodToCall
DelegatesmethodToCallproperty reference to the action.- Parameters:
methodToCall- method to call- See Also:
-
getActionLabel
DelegatesactionLabelproperty reference to the action.- Returns:
- action label
- See Also:
-
setActionLabel
DelegatesactionLabelproperty reference to the action.- Parameters:
actionLabel- action label- See Also:
-
getActionImage
DelegatesactionImageproperty reference to the action.- Returns:
- action image
- See Also:
-
setActionImage
DelegatesactionImageproperty reference to the action.- Parameters:
actionImage- action image- See Also:
-
getActionEvent
Delegates toAction.getActionEvent().- Returns:
- action event
-
setActionEvent
Setter forAction.setActionEvent(java.lang.String).- Parameters:
actionEvent- property value
-
getActionParameters
- See Also:
-
setActionParameters
Setter forgetActionParameters()- Parameters:
actionParameters- action parameters
-
getAdditionalSubmitData
- See Also:
-
setAdditionalSubmitData
Setter forgetAdditionalSubmitData()- Parameters:
additionalSubmitData- property value
-
addActionParameter
- See Also:
-
getActionParameter
- See Also:
-
getJumpToIdAfterSubmit
- See Also:
-
setJumpToIdAfterSubmit
- See Also:
-
getJumpToNameAfterSubmit
- See Also:
-
setJumpToNameAfterSubmit
- See Also:
-
getFocusOnIdAfterSubmit
- See Also:
-
setFocusOnIdAfterSubmit
- See Also:
-
isPerformClientSideValidation
public boolean isPerformClientSideValidation()- See Also:
-
setPerformClientSideValidation
public void setPerformClientSideValidation(boolean clientSideValidate) - See Also:
-
getActionScript
- See Also:
-
setActionScript
- See Also:
-
isPerformDirtyValidation
public boolean isPerformDirtyValidation()- See Also:
-
setPerformDirtyValidation
public void setPerformDirtyValidation(boolean blockValidateDirty) - See Also:
-
isDisabled
public boolean isDisabled()- See Also:
-
setDisabled
public void setDisabled(boolean disabled) - See Also:
-
getDisabledReason
- See Also:
-
setDisabledReason
- See Also:
-
getActionImagePlacement
- See Also:
-
setActionImagePlacement
- See Also:
-
getPreSubmitCall
- See Also:
-
setPreSubmitCall
- See Also:
-
isAjaxSubmit
public boolean isAjaxSubmit()- See Also:
-
setAjaxSubmit
public void setAjaxSubmit(boolean ajaxSubmit) - See Also:
-
getSuccessCallback
- See Also:
-
setSuccessCallback
- Parameters:
successCallback-- See Also:
-
getErrorCallback
- See Also:
-
setErrorCallback
- Parameters:
errorCallback-- See Also:
-
getRefreshId
- See Also:
-
setRefreshId
- See Also:
-
isDisableBlocking
public boolean isDisableBlocking()- See Also:
-
setDisableBlocking
public void setDisableBlocking(boolean disableBlocking) - See Also:
-
completeValidation
Validates different requirements of component compiling a series of reports detailing information on errors found in the component. Used by the RiceDictionaryValidator.- Specified by:
completeValidationin interfaceComponent- Overrides:
completeValidationin classComponentBase- Parameters:
tracer- Record of component's location
-