public class FormPresenterImpl extends Object implements FormPresenter
FormPresenter
. Main responsibilities of the class are:
FormBuilder
FormSection
sFormView
's locale switcher and setting SubAppContext
-wide locale.info.magnolia.ui.form
package in magnolia-ui-form,
but due to FormBuilder
being in magnolia-ui-dialog and the incorrect relation between FormView
, DialogView
and
FormViewReduced
it has to in the current package.Constructor and Description |
---|
FormPresenterImpl(FormBuilder formBuilder,
UiContext uiContext)
Deprecated.
since 5.4.12 - use
FormPresenterImpl(FormBuilder, UiContext, I18NAuthoringSupport) instead. |
FormPresenterImpl(FormBuilder formBuilder,
UiContext uiContext,
I18NAuthoringSupport i18nAuthoringSupport) |
Modifier and Type | Method and Description |
---|---|
boolean |
isValid() |
void |
presentView(FormViewReduced formView,
FormDefinition formDefinition,
com.vaadin.v7.data.Item item,
FormItem parent) |
void |
setLocale(Locale locale) |
protected void |
updateForm(Locale locale) |
@Inject public FormPresenterImpl(FormBuilder formBuilder, UiContext uiContext, I18NAuthoringSupport i18nAuthoringSupport)
@Deprecated public FormPresenterImpl(FormBuilder formBuilder, UiContext uiContext)
FormPresenterImpl(FormBuilder, UiContext, I18NAuthoringSupport)
instead.public void presentView(FormViewReduced formView, FormDefinition formDefinition, com.vaadin.v7.data.Item item, FormItem parent)
presentView
in interface FormPresenter
public boolean isValid()
isValid
in interface FormPresenter
public void setLocale(Locale locale)
setLocale
in interface FormPresenter
protected void updateForm(Locale locale)
Copyright © 2018 Magnolia International Ltd.. All rights reserved.