diff options
Diffstat (limited to '')
2 files changed, 2 insertions, 2 deletions
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) {"); 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) {"); |