summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Pielmann2012-10-23 09:25:24 (EDT)
committer Stephan Born2012-10-23 09:25:24 (EDT)
commit311c8e60cf1fcceeed2dda1ec2ec152bcab19373 (patch)
tree8cc677b587be8d783302b007387a053097b0c152
parent55d613b7be98e5bebafffddad0474cc96f07fbb6 (diff)
downloadorg.eclipse.stardust.ui.web-311c8e60cf1fcceeed2dda1ec2ec152bcab19373.zip
org.eclipse.stardust.ui.web-311c8e60cf1fcceeed2dda1ec2ec152bcab19373.tar.gz
org.eclipse.stardust.ui.web-311c8e60cf1fcceeed2dda1ec2ec152bcab19373.tar.bz2
CRNT-26529 Pepper: Implement - XPDL reference in case external data gets selected
git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/ui.web@60256 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/marshaling/ModelElementUnmarshaller.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/marshaling/ModelElementUnmarshaller.java b/web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/marshaling/ModelElementUnmarshaller.java
index 18b3ef6..0ca0a8f 100644
--- a/web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/marshaling/ModelElementUnmarshaller.java
+++ b/web-modeler/src/main/java/org/eclipse/stardust/ui/web/modeler/marshaling/ModelElementUnmarshaller.java
@@ -838,7 +838,10 @@ public abstract class ModelElementUnmarshaller implements ModelUnmarshaller
String dataFullId = dataPathJson.get(
ModelerConstants.DATA_FULL_ID_PROPERTY).getAsString();
- DataType data = getModelBuilderFacade().findData(dataFullId);
+ ModelType model = ModelUtils.findContainingModel(processDefinition);
+ DataType data = getModelBuilderFacade().importData(
+ model,
+ dataFullId);
dataPath.setData(data);
}