0

我刚从 Eclipse GRE 创建流程切换到 Drools Web Process Designer,但我发现了一个早期的障碍。在全局区域中创建我的第一个 BPMN2 流程后,我无法从形状存储库拖放到画布中。如果我拖动开始事件,它会显示在指针上,一旦我将线传递到画布,它就会给我一个绿色的勾号,但是当我在画布上释放时,元素的视觉表示会返回到形状菜单。大多数元素都会发生这种情况,但不会出现在画布中的连接对象 -> 序列流。

我一直在寻找关于如何进行我的第一个过程的教程,但他们都只是说“拖放 X 元素”,而我做不到。

我必须先启用编辑还是什么?

4

2 回答 2

0

That's an issue with Chrome if I don't remember wrong, please try with a different browser or with a different version of Chrome (the one that you are using is likely to have a bug related with svg files).

Regards

于 2014-05-02T08:31:04.540 回答
0

//直接添加到html文件或创建一种fixtures.js

if (!Document.prototype.createAttributeNS) {
Document.prototype.createAttributeNS = function(namespaceURI,
        qualifiedName) {
    var dummy = this.createElement('dummy');
    dummy.setAttributeNS(namespaceURI, qualifiedName, '');
    var attr = dummy.attributes[0];
    dummy.removeAttributeNode(attr);
    return attr;
};

}if (!Element.prototype.setAttributeNodeNS) { Element.prototype.setAttributeNodeNS = Element.prototype.setAttributeNode; }

于 2014-05-23T08:30:50.917 回答