Class DynaForm

java.lang.Object
org.kuali.rice.krad.web.form.UifFormBase
org.kuali.rice.krad.uif.mock.DynaForm
All Implemented Interfaces:
Serializable, ViewModel

public class DynaForm extends UifFormBase
Form class for MockView instances that holds data in generic maps.
Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Constructor Details

    • DynaForm

      public DynaForm()
  • Method Details

    • postBind

      public void postBind(javax.servlet.http.HttpServletRequest request)
      Description copied from class: UifFormBase
      Called after Spring binds the request to the form and before the controller method is invoked
      Specified by:
      postBind in interface ViewModel
      Overrides:
      postBind in class UifFormBase
      Parameters:
      request - request object containing the query parameters
    • getData

      public Map<String,Object> getData()
      Map containing non-boolean data for the view.
      Returns:
      map where key is property name and value is the property value
    • setData

      public void setData(Map<String,Object> data)
      See Also:
    • getBooleanData

      public Map<String,Boolean> getBooleanData()
      Map containing boolean data for the view.
      Returns:
      map where key is property name and value is the property value
    • setBooleanData

      public void setBooleanData(Map<String,Boolean> booleanData)
      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