Checking for null when adding formSpecificData
This commit is contained in:
parent
4d9001a8e5
commit
3717da7fea
1 changed files with 2 additions and 1 deletions
|
@ -82,7 +82,8 @@ public class EditConfigurationTemplateModel extends BaseTemplateModel {
|
||||||
|
|
||||||
//Get the form specific data
|
//Get the form specific data
|
||||||
HashMap<String, Object> formSpecificData = editConfig.getFormSpecificData();
|
HashMap<String, Object> formSpecificData = editConfig.getFormSpecificData();
|
||||||
pageData.putAll(formSpecificData);
|
if( formSpecificData != null)
|
||||||
|
pageData.putAll(formSpecificData);
|
||||||
populateDropdowns();
|
populateDropdowns();
|
||||||
//populate html with edit element where appropriate
|
//populate html with edit element where appropriate
|
||||||
populateGeneratedHtml();
|
populateGeneratedHtml();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue