use of org.camunda.bpm.engine.impl.form.engine.HtmlFormEngine 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);
}
}
}
use of org.camunda.bpm.engine.impl.form.engine.HtmlFormEngine in project camunda-bpm-platform by camunda.
the class HtmlFormEngineTest method testTransformNullFormData.
public void testTransformNullFormData() {
HtmlFormEngine formEngine = new HtmlFormEngine();
assertNull(formEngine.renderStartForm(null));
assertNull(formEngine.renderTaskForm(null));
}
Aggregations