Search in sources :

Example 1 with JuelFormEngine

use of org.camunda.bpm.engine.impl.form.engine.JuelFormEngine in project camunda-bpm-platform by camunda.

the class ProcessEngineConfigurationImpl method initFormEngines.

protected void initFormEngines() {
    if (formEngines == null) {
        formEngines = new HashMap<String, FormEngine>();
        // html form engine = default form engine
        FormEngine defaultFormEngine = new HtmlFormEngine();
        // default form engine is looked up with null
        formEngines.put(null, defaultFormEngine);
        formEngines.put(defaultFormEngine.getName(), defaultFormEngine);
        FormEngine juelFormEngine = new JuelFormEngine();
        formEngines.put(juelFormEngine.getName(), juelFormEngine);
    }
    if (customFormEngines != null) {
        for (FormEngine formEngine : customFormEngines) {
            formEngines.put(formEngine.getName(), formEngine);
        }
    }
}
Also used : JuelFormEngine(org.camunda.bpm.engine.impl.form.engine.JuelFormEngine) HtmlFormEngine(org.camunda.bpm.engine.impl.form.engine.HtmlFormEngine) FormEngine(org.camunda.bpm.engine.impl.form.engine.FormEngine) HtmlFormEngine(org.camunda.bpm.engine.impl.form.engine.HtmlFormEngine) JuelFormEngine(org.camunda.bpm.engine.impl.form.engine.JuelFormEngine)

Aggregations

FormEngine (org.camunda.bpm.engine.impl.form.engine.FormEngine)1 HtmlFormEngine (org.camunda.bpm.engine.impl.form.engine.HtmlFormEngine)1 JuelFormEngine (org.camunda.bpm.engine.impl.form.engine.JuelFormEngine)1