Search in sources :

Example 1 with FormsHandlingServletHelper

use of com.day.cq.wcm.foundation.forms.FormsHandlingServletHelper in project aem-core-wcm-components by Adobe-Marketing-Cloud.

the class CoreFormHandlingServlet method activate.

@Activate
protected void activate(Configuration configuration) {
    dataNameWhitelist = PropertiesUtil.toStringArray(configuration.name_whitelist());
    allowExpressions = PropertiesUtil.toBoolean(configuration.allow_expressions(), PROP_ALLOW_EXPRESSION_DEFAULT);
    formsHandlingServletHelper = new FormsHandlingServletHelper(dataNameWhitelist, validator, FormConstants.RT_ALL_CORE_FORM_CONTAINER, allowExpressions, formStructureHelperFactory);
}
Also used : FormsHandlingServletHelper(com.day.cq.wcm.foundation.forms.FormsHandlingServletHelper) Activate(org.osgi.service.component.annotations.Activate)

Aggregations

FormsHandlingServletHelper (com.day.cq.wcm.foundation.forms.FormsHandlingServletHelper)1 Activate (org.osgi.service.component.annotations.Activate)1