org.riotfamily.riot.form.ui
Class PopupFormController

java.lang.Object
  extended by org.riotfamily.forms.controller.AbstractFormController
      extended by org.riotfamily.forms.controller.AjaxFormController
          extended by org.riotfamily.forms.factory.RepositoryFormController
              extended by org.riotfamily.riot.form.ui.BaseFormController
                  extended by org.riotfamily.riot.form.ui.FormController
                      extended by org.riotfamily.riot.form.ui.PopupFormController
All Implemented Interfaces:
MessageSourceAware, Controller

public class PopupFormController
extends FormController


Field Summary
 
Fields inherited from class org.riotfamily.riot.form.ui.BaseFormController
EDITOR_DEFINITION_ATTR
 
Fields inherited from class org.riotfamily.forms.factory.RepositoryFormController
DEFAULT_FORM_ID_PARAM
 
Fields inherited from class org.riotfamily.forms.controller.AbstractFormController
BUTTON_CONTAINER_ID, FORM_SUBMISSION_HANDLER, log
 
Constructor Summary
PopupFormController(EditorRepository editorRepository, FormRepository formRepository, PlatformTransactionManager transactionManager, ListService listService)
           
 
Method Summary
protected  ModelAndView afterSave(Form form, ObjectEditorDefinition editorDefinition, HttpServletRequest request, HttpServletResponse response)
           
protected  ModelAndView afterUpdate(Form form, ObjectEditorDefinition editorDefinition, HttpServletRequest request, HttpServletResponse response)
           
 
Methods inherited from class org.riotfamily.riot.form.ui.FormController
createModel, getUrl, reloadForm, showParentList
 
Methods inherited from class org.riotfamily.riot.form.ui.BaseFormController
createForm, getFormBackingObject, getFormId, getObjectEditorDefinition, getObjectId, getParentEditor, getParentId, getSessionAttribute, handleFormSubmission, handleFormSubmissionInternal, saveOrUpdate, setViewName, showForm
 
Methods inherited from class org.riotfamily.forms.factory.RepositoryFormController
getFormIdParam, getFormRepository, setFormIdParam
 
Methods inherited from class org.riotfamily.forms.controller.AjaxFormController
handleFormRequest, initForm, isEventRequest, isInitialRequest, processAjaxRequest, processEventRequest, renderForm, setMessageSource
 
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
 

Constructor Detail

PopupFormController

public PopupFormController(EditorRepository editorRepository,
                           FormRepository formRepository,
                           PlatformTransactionManager transactionManager,
                           ListService listService)
Method Detail

afterSave

protected ModelAndView afterSave(Form form,
                                 ObjectEditorDefinition editorDefinition,
                                 HttpServletRequest request,
                                 HttpServletResponse response)
Overrides:
afterSave in class FormController

afterUpdate

protected ModelAndView afterUpdate(Form form,
                                   ObjectEditorDefinition editorDefinition,
                                   HttpServletRequest request,
                                   HttpServletResponse response)
Overrides:
afterUpdate in class FormController