List<DataDefinition> dataDefinitions = object.getJSONField("dataDefinitions");
CommandContextMutable context = new CommandContextImpl();
context.merge(p);
+ context.merge(command.getConstants());
for(DataDefinition dd : dataDefinitions) {
WidgetData wd = document.getWidgetData().get(dd.getElementId());
if(wd != null && wd.object != null) {