try {
ProcessToolWidget realWidget = getWidget(w, stateConfiguration, ctx, null, widgetEventBus);
if (realWidget instanceof ProcessToolVaadinRenderable && (!nvl(w.getOptional(), false) || realWidget.hasVisibleData())) {
processWidgetChildren(w, realWidget, stateConfiguration, ctx, null, widgetEventBus);
ProcessToolVaadinRenderable vaadinW = (ProcessToolVaadinRenderable) realWidget;
vl.addComponent(vaadinW.render());
}
}
catch (Exception e) {
logger.log(Level.SEVERE, e.getMessage(), e);
vl.addComponent(new Label(getMessage("process.data.widget.exception-occurred")));