org.riotfamily.pages.riot.form
Class PageFormInitializer
java.lang.Object
org.riotfamily.pages.riot.form.PageFormInitializer
- All Implemented Interfaces:
- FormInitializer
public class PageFormInitializer
- extends Object
- implements FormInitializer
FormInitializer that imports form fields defined in content-forms.xml.
If a new page is edited, the PageTypeHierarchy
is asked for
possible page types. If more than one page type is configured, a
dropdown is added that lets the user select a type.
- Since:
- 6.6
- Author:
- Felix Gnass [fgnass at neteye dot de]
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PageFormInitializer
public PageFormInitializer(PageTypeHierarchy pageTypeHierarchy,
FormRepository repository)
initForm
public void initForm(Form form)
- Specified by:
initForm
in interface FormInitializer