summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.x/modules/implementation-widget-runtime-tuscany
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-04-28 23:28:49 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-04-28 23:28:49 +0000
commit748876a29fe88029b790e35de3be496fcffaf8a7 (patch)
treef68dfb1eb348755adca6a6e672870bd45a028f77 /branches/sca-java-1.x/modules/implementation-widget-runtime-tuscany
parenta057e62140a8592550ca062e39bf0e37c67018fb (diff)
TUSCANY-2999 - Fixing property initialization in implementation widget
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@769587 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.x/modules/implementation-widget-runtime-tuscany')
-rw-r--r--branches/sca-java-1.x/modules/implementation-widget-runtime-tuscany/src/main/java/org/apache/tuscany/sca/implementation/widget/tuscany/TuscanyJavaScriptComponentGeneratorImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/branches/sca-java-1.x/modules/implementation-widget-runtime-tuscany/src/main/java/org/apache/tuscany/sca/implementation/widget/tuscany/TuscanyJavaScriptComponentGeneratorImpl.java b/branches/sca-java-1.x/modules/implementation-widget-runtime-tuscany/src/main/java/org/apache/tuscany/sca/implementation/widget/tuscany/TuscanyJavaScriptComponentGeneratorImpl.java
index 56ba596fca..21961a9094 100644
--- a/branches/sca-java-1.x/modules/implementation-widget-runtime-tuscany/src/main/java/org/apache/tuscany/sca/implementation/widget/tuscany/TuscanyJavaScriptComponentGeneratorImpl.java
+++ b/branches/sca-java-1.x/modules/implementation-widget-runtime-tuscany/src/main/java/org/apache/tuscany/sca/implementation/widget/tuscany/TuscanyJavaScriptComponentGeneratorImpl.java
@@ -143,7 +143,7 @@ public class TuscanyJavaScriptComponentGeneratorImpl implements ComponentJavaScr
for(ComponentProperty property : component.getProperties()) {
String propertyName = property.getName();
- pw.println("tuscany.sca.propertyMap." + propertyName + " = \"" + getPropertyValue(property) + "\"");
+ pw.println("tuscany.sca.propertyMap." + propertyName + " = new String(\"" + getPropertyValue(property) + "\");");
}
pw.println("tuscany.sca.Property = function (name) {");