Class KualiForm
java.lang.Object
org.apache.struts.action.ActionForm
org.kuali.rice.kns.web.struts.form.pojo.PojoFormBase
org.kuali.rice.kns.web.struts.form.KualiForm
- All Implemented Interfaces:
Serializable,PojoForm
- Direct Known Subclasses:
InquiryForm,KualiDocumentFormBase,KualiExceptionIncidentForm,KualiFeedbackHandlerForm,KualiHelpForm,LookupForm,QuestionPromptForm
Deprecated.
This class common properites for all action forms.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDeprecated.Tab state UI literals -
Field Summary
FieldsFields inherited from class org.kuali.rice.kns.web.struts.form.pojo.PojoFormBase
requiredNonEditablePropertiesFields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.no args constructor which must init our tab states list -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.This method adds the required property names, that are not directly editable by user on the html page, to a list, regardless of the context in which they appear.voidDeprecated.Reinitializes the form to allow it to register the editable properties of the currently processing request.Deprecated.Deprecated.Deprecated.intDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.getExtraButton(int index) Deprecated.Deprecated.Deprecated.Deprecated.Gets the headerNavigationTabs attribute.Deprecated.Used by the dispatch action to determine which action method to call into.Deprecated.Gets the navigationCss attribute.intDeprecated.intDeprecated.Deprecated.Can be used by actions refresh method to determine what called the the refresh method.getTabState(String key) Deprecated.Special getter based on key to work with multi rows for tab state objectsDeprecated.voidDeprecated.booleanDeprecated.Returns whether field level help is enabled for this form.voidpopulate(javax.servlet.http.HttpServletRequest request) Deprecated.Checks for methodToCall parameter, and if not populated in form calls utility method to parse the string from the request.protected voidpopulateBackLocation(javax.servlet.http.HttpServletRequest request) Deprecated.protected voidpopulateFieldLevelHelpEnabled(javax.servlet.http.HttpServletRequest request) Deprecated.Populates whether the each field will have field-level help associated with it.voidreset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request) Deprecated.voidreset(org.apache.struts.action.ActionMapping mapping, javax.servlet.ServletRequest request) Deprecated.retrieveFormValueForLookupInquiryParameters(String parameterName, String parameterValueLocation) Deprecated.Retrieves a value from the form for the purposes of passing it as a parameter into the lookup or inquiry frameworksvoidsetActionFormUtilMap(Map validOptionsMap) Deprecated.voidDeprecated.voidsetBackLocation(String backLocation) Deprecated.voidsetCurrentTabIndex(int currentTabIndex) Deprecated.voidsetDerivedValuesOnForm(javax.servlet.http.HttpServletRequest request) Deprecated.voidsetDocInfo(List<HeaderField> docInfo) Deprecated.voidsetExtraButton(int index, ExtraButton extraButton) Deprecated.voidsetExtraButtons(List<ExtraButton> extraButtons) Deprecated.voidsetFieldLevelHelpEnabled(boolean fieldLevelHelpEnabled) Deprecated.voidsetFieldNameToFocusOnAfterSubmit(String fieldNameToFocusOnAfterSubmit) Deprecated.voidsetHeaderNavigationTabs(HeaderNavigation[] headerNavigationTabs) Deprecated.Sets the headerNavigationTabs attribute value.voidsetMethodToCall(String methodToCall) Deprecated.voidsetNavigationCss(String navigationCss) Deprecated.Sets the navigationCss attribute value.voidsetNumColumns(int numColumns) Deprecated.voidsetRefreshCaller(String refreshCaller) Deprecated.voidsetTabStates(Map<String, String> tabStates) Deprecated.simple setter for the tab state MapbooleanshouldMethodToCallParameterBeUsed(String methodToCallParameterName, String methodToCallParameterValue, javax.servlet.http.HttpServletRequest request) Deprecated.booleanshouldPropertyBePopulatedInForm(String requestParameterName, javax.servlet.http.HttpServletRequest request) Deprecated.Returns whether a request parameter should be populated as a property of the form, assuming that the request parameter name corresponds to a property on the form.Methods inherited from class org.kuali.rice.kns.web.struts.form.pojo.PojoFormBase
addMaxUploadSize, cacheUnconvertedValue, copyPopulateEditablePropertiesToActionEditableProperties, customInitMaxUploadSizes, formatterClassForKeypath, formatValue, getActionEditablePropertiesGuid, getEditableProperties, getFormatter, getFormatterTypes, getIsNewForm, getMaxUploadSizes, getMethodToCallsToBypassSessionRetrievalForGETRequests, getParameter, getParameterValues, getPopulateEditableProperties, getPopulateEditablePropertiesGuid, getPropertyType, getRequiredNonEditableProperties, getStrutsActionMappingScope, getUnconvertedValues, getUnknownKeys, initMaxUploadSizes, isPropertyEditable, isPropertyNonEditableButRequired, populateForProperty, postprocessRequestParameters, processValidationFail, registerEditableProperty, registerIsNewForm, registerRequiredNonEditableProperty, registerStrutsActionMappingScope, setActionEditablePropertiesGuid, setFormatterType, setFormatterTypes, setPopulateEditablePropertiesGuid, setUnconvertedValuesMethods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, setMultipartRequestHandler, setServlet, validate, validate
-
Field Details
-
extraButtons
Deprecated.
-
-
Constructor Details
-
KualiForm
public KualiForm()Deprecated.no args constructor which must init our tab states list
-
-
Method Details
-
addRequiredNonEditableProperties
public void addRequiredNonEditableProperties()Deprecated.Description copied from interface:PojoFormThis method adds the required property names, that are not directly editable by user on the html page, to a list, regardless of the context in which they appear. Request parameter names corresponding to these properties will be populated into the form.- Specified by:
addRequiredNonEditablePropertiesin interfacePojoForm- Overrides:
addRequiredNonEditablePropertiesin classPojoFormBase- See Also:
-
getNumColumns
public int getNumColumns()Deprecated. -
setNumColumns
public void setNumColumns(int numColumns) Deprecated. -
getDocInfo
Deprecated. -
setDocInfo
Deprecated. -
populate
public void populate(javax.servlet.http.HttpServletRequest request) Deprecated.Checks for methodToCall parameter, and if not populated in form calls utility method to parse the string from the request.- Specified by:
populatein interfacePojoForm- Overrides:
populatein classPojoFormBase
-
populateBackLocation
protected void populateBackLocation(javax.servlet.http.HttpServletRequest request) Deprecated. -
populateFieldLevelHelpEnabled
protected void populateFieldLevelHelpEnabled(javax.servlet.http.HttpServletRequest request) Deprecated.Populates whether the each field will have field-level help associated with it. Depending on how the jsp/tags are implemented, the value populated by this method may be overruled by other settings- Parameters:
request-
-
getDisplayedErrors
Deprecated. -
getDisplayedWarnings
Deprecated.- Returns:
- the displayedWarnings
-
getDisplayedInfo
Deprecated.- Returns:
- the displayedInfo
-
getMethodToCall
Deprecated.Used by the dispatch action to determine which action method to call into.- Returns:
- Returns the methodToCall.
-
setMethodToCall
Deprecated.- Parameters:
methodToCall- The methodToCall to set.
-
getRefreshCaller
Deprecated.Can be used by actions refresh method to determine what called the the refresh method.- Returns:
- Returns the refreshCaller.
-
setRefreshCaller
Deprecated.- Parameters:
refreshCaller- The refreshCaller to set.
-
getTabStates
Deprecated.- Returns:
- the tab state list
-
setTabStates
Deprecated.simple setter for the tab state Map- Parameters:
tabStates-
-
getTabState
Deprecated.Special getter based on key to work with multi rows for tab state objects -
getCurrentTabIndex
public int getCurrentTabIndex()Deprecated. -
setCurrentTabIndex
public void setCurrentTabIndex(int currentTabIndex) Deprecated. -
incrementTabIndex
public void incrementTabIndex()Deprecated. -
getNextArbitrarilyHighIndex
public int getNextArbitrarilyHighIndex()Deprecated. -
getFieldNameToFocusOnAfterSubmit
Deprecated. -
setFieldNameToFocusOnAfterSubmit
Deprecated. -
getActionFormUtilMap
Deprecated.- Returns:
- Returns the validOptionsMap.
-
setActionFormUtilMap
Deprecated.- Parameters:
validOptionsMap- The validOptionsMap to set.
-
getAnchor
Deprecated. -
setAnchor
Deprecated. -
getExtraButtons
Deprecated. -
setExtraButtons
Deprecated. -
getExtraButton
Deprecated. -
setExtraButton
Deprecated. -
isFieldLevelHelpEnabled
public boolean isFieldLevelHelpEnabled()Deprecated.Returns whether field level help is enabled for this form.- Returns:
-
setFieldLevelHelpEnabled
public void setFieldLevelHelpEnabled(boolean fieldLevelHelpEnabled) Deprecated. -
retrieveFormValueForLookupInquiryParameters
public String retrieveFormValueForLookupInquiryParameters(String parameterName, String parameterValueLocation) Deprecated.Retrieves a value from the form for the purposes of passing it as a parameter into the lookup or inquiry frameworks- Parameters:
parameterName- the name of the parameter, as expected by the lookup or inquiry frameworksparameterValueLocation- the name of the property containing the value of the parameter- Returns:
- the value of the parameter
-
shouldPropertyBePopulatedInForm
public boolean shouldPropertyBePopulatedInForm(String requestParameterName, javax.servlet.http.HttpServletRequest request) Deprecated.Description copied from interface:PojoFormReturns whether a request parameter should be populated as a property of the form, assuming that the request parameter name corresponds to a property on the form. This method makes no determination whether the request parameter is a property of the form, but rather from a security perspective, whether the framework should attempt to set the form property with the same name as the request parameter.- Specified by:
shouldPropertyBePopulatedInFormin interfacePojoForm- Overrides:
shouldPropertyBePopulatedInFormin classPojoFormBase- Parameters:
requestParameterName- the name of the request parameterrequest- the HTTP request- Returns:
- whether the parameter should be
- See Also:
-
shouldMethodToCallParameterBeUsed
public boolean shouldMethodToCallParameterBeUsed(String methodToCallParameterName, String methodToCallParameterValue, javax.servlet.http.HttpServletRequest request) Deprecated. -
clearEditablePropertyInformation
public void clearEditablePropertyInformation()Deprecated.Description copied from interface:PojoFormReinitializes the form to allow it to register the editable properties of the currently processing request.- Specified by:
clearEditablePropertyInformationin interfacePojoForm- Overrides:
clearEditablePropertyInformationin classPojoFormBase- See Also:
-
setDerivedValuesOnForm
public void setDerivedValuesOnForm(javax.servlet.http.HttpServletRequest request) Deprecated. -
reset
public void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request) Deprecated.- Overrides:
resetin classorg.apache.struts.action.ActionForm- See Also:
-
reset
public void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.ServletRequest request) Deprecated.- Overrides:
resetin classorg.apache.struts.action.ActionForm- See Also:
-
getBackLocation
Deprecated.- Returns:
- the backLocation
-
setBackLocation
Deprecated.- Parameters:
backLocation- the backLocation to set
-
UifFormBase.