Hi,
I’m trying to use vaadin gantt add-on in my webapp, but I can add it only to my main window. :
mainWindow.setContent(diagram);
works fine - diagram is displayed, but when I’m trying do something like that:
PopupWindow win = new PopupWindow();
win.setContent(diagram);
mainWindow.addWindow(win);
I can’t see any popup and when I run my app in debug mode I’ve got message like this:
JavaScriptException: (TypeError): Cannot read property „nodeType”: object is empty or undefined description: Cannot read property „nodeType”: object is empty or undefined number: -2146823281
JavaScriptException: (TypeError): Cannot read property „nodeType”: object is empty or undefined description: Cannot read property „nodeType”: object is empty or undefined number: -2146823281
JavaScriptException: (TypeError): Cannot read property „style”: object is empty or undefined description: Cannot read property „style”: object is empty or undefinednumber: -2146823281
JavaScriptException: (TypeError): Cannot read property „nodeType”: object is empty or undefined description: Cannot read property „nodeType”: object is empty or undefined number: -2146823281
diagram
is just GanttDiagram configured just like in example source code.
Any idea what can I do to figured it out ?