You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by lr...@apache.org on 2009/04/29 01:28:50 UTC
svn commit: r769587 - in /tuscany/branches/sca-java-1.x/modules:
implementation-widget-runtime-dojo/src/main/java/org/apache/tuscany/sca/implementation/widget/dojo/
implementation-widget-runtime-tuscany/src/main/java/org/apache/tuscany/sca/implementati...
Author: lresende
Date: Tue Apr 28 23:28:49 2009
New Revision: 769587
URL: http://svn.apache.org/viewvc?rev=769587&view=rev
Log:
TUSCANY-2999 - Fixing property initialization in implementation widget
Modified:
tuscany/branches/sca-java-1.x/modules/implementation-widget-runtime-dojo/src/main/java/org/apache/tuscany/sca/implementation/widget/dojo/DojoJavaScriptComponentGeneratorImpl.java
tuscany/branches/sca-java-1.x/modules/implementation-widget-runtime-tuscany/src/main/java/org/apache/tuscany/sca/implementation/widget/tuscany/TuscanyJavaScriptComponentGeneratorImpl.java
Modified: tuscany/branches/sca-java-1.x/modules/implementation-widget-runtime-dojo/src/main/java/org/apache/tuscany/sca/implementation/widget/dojo/DojoJavaScriptComponentGeneratorImpl.java
URL: http://svn.apache.org/viewvc/tuscany/branches/sca-java-1.x/modules/implementation-widget-runtime-dojo/src/main/java/org/apache/tuscany/sca/implementation/widget/dojo/DojoJavaScriptComponentGeneratorImpl.java?rev=769587&r1=769586&r2=769587&view=diff
==============================================================================
--- tuscany/branches/sca-java-1.x/modules/implementation-widget-runtime-dojo/src/main/java/org/apache/tuscany/sca/implementation/widget/dojo/DojoJavaScriptComponentGeneratorImpl.java (original)
+++ tuscany/branches/sca-java-1.x/modules/implementation-widget-runtime-dojo/src/main/java/org/apache/tuscany/sca/implementation/widget/dojo/DojoJavaScriptComponentGeneratorImpl.java Tue Apr 28 23:28:49 2009
@@ -146,7 +146,7 @@
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) {");
Modified: tuscany/branches/sca-java-1.x/modules/implementation-widget-runtime-tuscany/src/main/java/org/apache/tuscany/sca/implementation/widget/tuscany/TuscanyJavaScriptComponentGeneratorImpl.java
URL: http://svn.apache.org/viewvc/tuscany/branches/sca-java-1.x/modules/implementation-widget-runtime-tuscany/src/main/java/org/apache/tuscany/sca/implementation/widget/tuscany/TuscanyJavaScriptComponentGeneratorImpl.java?rev=769587&r1=769586&r2=769587&view=diff
==============================================================================
--- tuscany/branches/sca-java-1.x/modules/implementation-widget-runtime-tuscany/src/main/java/org/apache/tuscany/sca/implementation/widget/tuscany/TuscanyJavaScriptComponentGeneratorImpl.java (original)
+++ tuscany/branches/sca-java-1.x/modules/implementation-widget-runtime-tuscany/src/main/java/org/apache/tuscany/sca/implementation/widget/tuscany/TuscanyJavaScriptComponentGeneratorImpl.java Tue Apr 28 23:28:49 2009
@@ -143,7 +143,7 @@
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) {");