org.riotfamily.riot.form.ui
Class FormChooserController
java.lang.Object
org.riotfamily.forms.controller.AbstractFormController
org.riotfamily.forms.controller.AjaxFormController
org.riotfamily.forms.factory.RepositoryFormController
org.riotfamily.riot.form.ui.BaseFormController
org.riotfamily.riot.form.ui.FormController
org.riotfamily.riot.form.ui.FormChooserController
- All Implemented Interfaces:
- MessageSourceAware, Controller
public class FormChooserController
- extends FormController
Methods inherited from class org.riotfamily.riot.form.ui.BaseFormController |
createForm, getFormBackingObject, getObjectEditorDefinition, getObjectId, getParentEditor, getParentId, getSessionAttribute, handleFormSubmission, handleFormSubmissionInternal, saveOrUpdate, setViewName, showForm |
Methods inherited from class org.riotfamily.forms.controller.AbstractFormController |
createAndInitForm, createModelAndView, getForm, getWriter, handleContentRequest, handleRequest, initController, isContentRequest, isExclusiveRequest, populateForm, processForm, removeFormFromSession, setFormContextFactory, setProcessNewForms |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormChooserController
public FormChooserController(EditorRepository editorRepository,
FormRepository formRepository,
PlatformTransactionManager transactionManager,
ListService listService)
getFormId
protected String getFormId(HttpServletRequest request)
- Description copied from class:
BaseFormController
- Returns the id of the form to be used. This implementation returns
the formId specified by the
FormDefinition
.
- Overrides:
getFormId
in class BaseFormController
createModel
protected Map<String,Object> createModel(Form form,
ObjectEditorDefinition editorDefinition,
HttpServletRequest request,
HttpServletResponse response)
- Overrides:
createModel
in class FormController