info.magnolia.module.form.templates.components
Class DefaultFormDataBinder
java.lang.Object
info.magnolia.module.form.templates.components.DefaultFormDataBinder
- All Implemented Interfaces:
- FormDataBinder
public class DefaultFormDataBinder
- extends Object
- implements FormDataBinder
Default FormDataBinder
that performs binding and validation for the
built-in fields.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultFormDataBinder
public DefaultFormDataBinder()
setI18nBasename
public void setI18nBasename(String i18nBasename)
getDefaultPath
public static String getDefaultPath()
bindAndValidate
public FormStepState bindAndValidate(javax.jcr.Node component)
throws javax.jcr.RepositoryException
- Specified by:
bindAndValidate
in interface FormDataBinder
- Throws:
javax.jcr.RepositoryException
bindAndValidateFields
protected void bindAndValidateFields(Iterator<javax.jcr.Node> iterator,
FormStepState step)
throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
isMandatory
protected boolean isMandatory(javax.jcr.Node node)
getErrorMessage
protected String getErrorMessage(String message,
javax.jcr.Node node)
Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.