From 748876a29fe88029b790e35de3be496fcffaf8a7 Mon Sep 17 00:00:00 2001 From: lresende Date: Tue, 28 Apr 2009 23:28:49 +0000 Subject: 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 --- .../widget/dojo/DojoJavaScriptComponentGeneratorImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'branches/sca-java-1.x/modules/implementation-widget-runtime-dojo/src/main/java/org/apache/tuscany/sca/implementation/widget/dojo/DojoJavaScriptComponentGeneratorImpl.java') diff --git a/branches/sca-java-1.x/modules/implementation-widget-runtime-dojo/src/main/java/org/apache/tuscany/sca/implementation/widget/dojo/DojoJavaScriptComponentGeneratorImpl.java b/branches/sca-java-1.x/modules/implementation-widget-runtime-dojo/src/main/java/org/apache/tuscany/sca/implementation/widget/dojo/DojoJavaScriptComponentGeneratorImpl.java index e89fd2c0e7..f293f38b4d 100644 --- a/branches/sca-java-1.x/modules/implementation-widget-runtime-dojo/src/main/java/org/apache/tuscany/sca/implementation/widget/dojo/DojoJavaScriptComponentGeneratorImpl.java +++ b/branches/sca-java-1.x/modules/implementation-widget-runtime-dojo/src/main/java/org/apache/tuscany/sca/implementation/widget/dojo/DojoJavaScriptComponentGeneratorImpl.java @@ -146,7 +146,7 @@ public class DojoJavaScriptComponentGeneratorImpl implements ComponentJavaScript 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) {"); -- cgit v1.2.3