Author: Grid.Qian
Date: 2008-10-16 04:09:32 -0400 (Thu, 16 Oct 2008)
New Revision: 10868
Modified:
trunk/jbpm/plugins/org.jboss.tools.jbpm.convert/src/org/jboss/tools/jbpm/convert/b2j/translate/BPMN2JPDL.java
Log:
JBIDE-2911: fix this issue that the generated jpdl decision element's name is null.
Modified:
trunk/jbpm/plugins/org.jboss.tools.jbpm.convert/src/org/jboss/tools/jbpm/convert/b2j/translate/BPMN2JPDL.java
===================================================================
---
trunk/jbpm/plugins/org.jboss.tools.jbpm.convert/src/org/jboss/tools/jbpm/convert/b2j/translate/BPMN2JPDL.java 2008-10-16
07:13:49 UTC (rev 10867)
+++
trunk/jbpm/plugins/org.jboss.tools.jbpm.convert/src/org/jboss/tools/jbpm/convert/b2j/translate/BPMN2JPDL.java 2008-10-16
08:09:32 UTC (rev 10868)
@@ -426,7 +426,7 @@
// create a decision
Element decision = DomXmlWriter.addElement(element.getParent(),
B2JMessages.Jpdl_Decision_Element_Name);
- String name = activity.attributeValue(B2JMessages.Dom_Element_Name)
+ String name = TranslateHelper.generateElementName(activity)
+ B2JMessages.Underline + B2JMessages.Loop_Decision;
DomXmlWriter.addAttribute(decision, B2JMessages.Dom_Element_Name, name);
Show replies by date