org.riotfamily.riot.list.command.dialog.ui
Class DialogFormController
java.lang.Object
org.riotfamily.forms.controller.AbstractFormController
org.riotfamily.forms.controller.AjaxFormController
org.riotfamily.riot.list.command.dialog.ui.DialogFormController
- All Implemented Interfaces:
- MessageSourceAware, Controller
public class DialogFormController
- extends AjaxFormController
- Since:
- 6.4
- Author:
- Felix Gnass [fgnass at neteye dot de]
Methods inherited from class org.riotfamily.forms.controller.AbstractFormController |
createAndInitForm, createModelAndView, getForm, getFormBackingObject, getWriter, handleContentRequest, handleRequest, initController, isContentRequest, isExclusiveRequest, processForm, removeFormFromSession, setFormContextFactory, setProcessNewForms |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DialogFormController
public DialogFormController(ListRepository listRepository,
PlatformTransactionManager transactionManager)
getCommandId
protected String getCommandId(HttpServletRequest request)
getCommand
protected DialogCommand getCommand(HttpServletRequest request)
createForm
protected Form createForm(HttpServletRequest request)
- Delegates the form creation to the DialogCommand.
- Specified by:
createForm
in class AbstractFormController
populateForm
protected void populateForm(Form form,
HttpServletRequest request)
- Overwrites the super implementation to do nothing since the form
created by the command is already populated by contract.
- Overrides:
populateForm
in class AbstractFormController
getSessionAttribute
protected String getSessionAttribute(HttpServletRequest request)
- Description copied from class:
AbstractFormController
- Returns the name of the attribute under which the
Form
is
stored in the HTTP session.
- Overrides:
getSessionAttribute
in class AbstractFormController
getTitle
protected String getTitle(Form form,
HttpServletRequest request)
showForm
protected ModelAndView showForm(Form form,
HttpServletRequest request,
HttpServletResponse response)
- Overrides:
showForm
in class AbstractFormController
handleFormSubmission
public ModelAndView handleFormSubmission(Form form,
HttpServletRequest request,
HttpServletResponse response)
throws Exception
- Specified by:
handleFormSubmission
in class AbstractFormController
- Throws:
Exception