Hello all,
I have problem integrating it into vaadin 7 project. I put all 3 downloaded jars into WEB-INF/lib directory, along with com.fasterxml.jackson.*.jar libs. After successful compilation, I run the project on a tomcat server and encounter the following pop-up window:
Failed to load the widgetset: ./VAADIN/widgetsets/org.
vaadin.diagrambuilder.WidgetSet/org.vaadin.diagrambuilder.WidgetSet.nocache.js?1405669571852 .
The relevant code snippet is as follows.
[code]
private void initDiagram()
{
// Initialize our new UI component
DiagramBuilder diagramBuilder = new DiagramBuilder();
diagramBuilder.setAvailableFields(new NodeType(“diagram-node-start-icon”, “Start”, “start”),
new NodeType(“diagram-node-fork-icon”, “Fork”, “fork”),
new NodeType(“diagram-node-condition-icon”,
“Condition”,
“condition”));
diagramBuilder.setFields(new Node(“StartNode”, “start”, 10, 10), new Node(“Condition”,
“condition”,
260,
16));
diagramBuilder.setTransitions(new Transition("StartNode", "Condition", "TaskConnector1"));
final VerticalLayout layout = new VerticalLayout();
layout.setMargin(true);
setContent(layout);
layout.addComponent(diagramBuilder);
}
[/code]I also changed annotation accordingly as follows.
@VaadinServletConfiguration(productionMode = false, ui = VtUI.class, widgetset="org.vaadin.diagrambuilder.WidgetSet")
Did I miss something? Do you have an idea of how to solve this? Any help is appreciated!
Cheers, X.