Package org.kuali.rice.krad.uif.mock
Class DynaForm
java.lang.Object
org.kuali.rice.krad.web.form.UifFormBase
org.kuali.rice.krad.uif.mock.DynaForm
- All Implemented Interfaces:
Serializable,ViewModel
Form class for
MockView instances that holds data in generic maps.- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Field Summary
Fields inherited from class org.kuali.rice.krad.web.form.UifFormBase
actionFlags, actionParameters, addedCollectionItems, ajaxRequest, ajaxReturnType, applyDefaultValues, attachmentFile, canEditView, clientStateForSyncing, controllerMapping, csrfToken, dialogExplanations, dialogResponses, dirtyForm, editModes, evaluateFlagsAndModes, extensionData, flowKey, focusId, formKey, formPostUrl, growlScript, historyFlow, historyManager, jumpToId, jumpToName, methodToCall, newCollectionLines, pageId, readOnlyFieldsList, renderedInDialog, renderedInIframe, request, requestedFormKey, requestRedirected, returnDialogId, returnDialogResponse, returnFormKey, returnLocation, selectedCollectionLines, selectedLookupResultsCache, sessionId, sessionTimeoutInterval, showDialogId, state, triggerActionId, updateComponentId, view, viewId, viewName, viewPostMetadata, viewRequestParameters, viewTypeName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMap containing boolean data for the view.getData()Map containing non-boolean data for the view.booleanIndicates whether the request is the initial get request for the view.voidpostBind(javax.servlet.http.HttpServletRequest request) Called after Spring binds the request to the form and before the controller method is invokedvoidsetBooleanData(Map<String, Boolean> booleanData) voidMethods inherited from class org.kuali.rice.krad.web.form.UifFormBase
generateFormKey, getActionEvent, getActionFlags, getActionParamaterValue, getActionParameters, getActionParametersAsProperties, getAddedCollectionItems, getAjaxReturnType, getAttachmentFile, getClientStateForSyncing, getControllerMapping, getCsrfToken, getDialogDataObject, getDialogExplanations, getDialogResponse, getDialogResponses, getEditModes, getExtensionData, getFlowKey, getFocusId, getFormKey, getFormPostUrl, getGrowlScript, getHistoryFlow, getHistoryManager, getInitialRequestParameters, getJumpToId, getJumpToName, getMethodToCall, getNewCollectionLines, getPageId, getReadOnlyFieldsList, getRequest, getRequestedFormKey, getRequestJsonTemplate, getRequestUrl, getReturnDialogId, getReturnDialogResponse, getReturnFormKey, getReturnLocation, getSelectedCollectionLines, getSelectedLookupResultsCache, getSessionId, getSessionTimeoutInterval, getShowDialogId, getState, getTriggerActionId, getUpdateComponent, getUpdateComponentId, getView, getViewHelperService, getViewId, getViewName, getViewPostMetadata, getViewRequestParameters, getViewService, getViewTypeName, isAddedCollectionItem, isAjaxRequest, isApplyDefaultValues, isCanEditView, isCollectionPagingRequest, isDirtyForm, isEvaluateFlagsAndModes, isJsonRequest, isRenderedInDialog, isRenderedInIframe, isRequestRedirected, isUpdateComponentRequest, isUpdateDialogRequest, isUpdateNoneRequest, isUpdatePageRequest, preBind, preRender, setActionFlags, setActionParameters, setAddedCollectionItems, setAjaxRequest, setAjaxReturnType, setApplyDefaultValues, setAttachmentFile, setCanEditView, setClientStateForSyncing, setCollectionPagingRequest, setCsrfToken, setDialogDataObject, setDialogExplanations, setDialogResponses, setDirtyForm, setDirtyForm, setEditModes, setEvaluateFlagsAndModes, setExtensionData, setFlowKey, setFocusId, setFormKey, setFormPostUrl, setGrowlScript, setHistoryFlow, setHistoryManager, setInitialRequestParameters, setJumpToId, setJumpToName, setMethodToCall, setNewCollectionLines, setPageId, setReadOnlyFieldsList, setRenderedInDialog, setRenderedInIframe, setRequest, setRequestedFormKey, setRequestJsonTemplate, setRequestRedirected, setRequestUrl, setReturnDialogId, setReturnDialogResponse, setReturnFormKey, setReturnLocation, setSelectedCollectionLines, setSelectedLookupResultsCache, setShowDialogId, setState, setTriggerActionId, setUpdateComponent, setUpdateComponentId, setView, setViewId, setViewName, setViewPostMetadata, setViewRequestParameters, setViewTypeName, toString
-
Constructor Details
-
DynaForm
public DynaForm()
-
-
Method Details
-
postBind
public void postBind(javax.servlet.http.HttpServletRequest request) Description copied from class:UifFormBaseCalled after Spring binds the request to the form and before the controller method is invoked- Specified by:
postBindin interfaceViewModel- Overrides:
postBindin classUifFormBase- Parameters:
request- request object containing the query parameters
-
getData
Map containing non-boolean data for the view.- Returns:
- map where key is property name and value is the property value
-
setData
- See Also:
-
getBooleanData
Map containing boolean data for the view.- Returns:
- map where key is property name and value is the property value
-
setBooleanData
- See Also:
-
isInitialGetRequest
public boolean isInitialGetRequest()Indicates whether the request is the initial get request for the view.- Returns:
- boolean true if this is the initial request, false if not
-