org.riotfamily.pages.riot.form
Class PagePropertiesFormController
java.lang.Object
org.riotfamily.forms.controller.AbstractFormController
org.riotfamily.forms.controller.AjaxFormController
org.riotfamily.forms.factory.RepositoryFormController
org.riotfamily.components.editor.AbstractFrontOfficeFormController
org.riotfamily.components.editor.ContentFormController
org.riotfamily.pages.riot.form.PagePropertiesFormController
- All Implemented Interfaces:
- MessageSourceAware, Controller
public class PagePropertiesFormController
- extends ContentFormController
The pages module replaces the ContentFormController provided by the
components module by this implementation. It checks if the
ContentContainer
being edited is a PageProperties
instance
and wraps the form elements with PagePropertyElement
s.
- Since:
- 7.0
- Author:
- Felix Gnass [fgnass at neteye dot de]
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 |
PagePropertiesFormController
public PagePropertiesFormController(FormRepository formRepository,
PlatformTransactionManager transactionManager,
ComponentDao componentDao,
CacheService cacheService)
createForm
protected Form createForm(HttpServletRequest request)
- Description copied from class:
AbstractFormController
- Subclasses must implement this method and return a fresh
Form
instance.
- Overrides:
createForm
in class RepositoryFormController
createPagePropertiesForm
protected Form createPagePropertiesForm(HttpServletRequest request,
PageProperties props)