]> git.argeo.org Git - gpl/argeo-slc.git/commitdiff
Do not use qooxdoo properties initialization
authorCharles du Jeu <charles.dujeu@gmail.com>
Thu, 19 Mar 2009 12:54:50 +0000 (12:54 +0000)
committerCharles du Jeu <charles.dujeu@gmail.com>
Thu, 19 Mar 2009 12:54:50 +0000 (12:54 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@2287 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

org.argeo.slc.webapp/src/main/webapp/argeo-ria-lib/slc/class/org/argeo/slc/ria/execution/Module.js
org.argeo.slc.webapp/src/main/webapp/argeo-ria-lib/slc/class/org/argeo/slc/ria/execution/Spec.js

index 5157f83443a7c392f8452053771b9c8fc698f7e4..5a3dd2d0de783c44f2839699411493f9a1d5bc3d 100644 (file)
@@ -24,15 +24,13 @@ qx.Class.define("org.argeo.slc.ria.execution.Module", {
                 * All execution flows registered by their name\r
                 */\r
                executionFlows : {\r
-                       check : "Map",\r
-                       init : {}\r
+                       check : "Map"\r
                },\r
                /**\r
                 * All execution specs registered by their name\r
                 */\r
                executionSpecs : {\r
-                       check : "Map", \r
-                       init : {}\r
+                       check : "Map"\r
                },\r
                /**\r
                 * XML description (castor)\r
@@ -51,6 +49,8 @@ qx.Class.define("org.argeo.slc.ria.execution.Module", {
        \r
        construct : function(){\r
                this.base(arguments);\r
+               this.setExecutionFlows({});\r
+               this.setExecutionSpecs({});\r
        },\r
        \r
        members : {\r
index 29685eb0ef1d0d244e261bcd69d9e775ed70e45e..b72623546f6ac68182b3bd6f2df0deff7b64df0e 100644 (file)
@@ -17,8 +17,7 @@ qx.Class.define("org.argeo.slc.ria.execution.Spec", {
                 * Defined parameters \r
                 */\r
                values : {\r
-                       check : "Map", \r
-                       init : {}\r
+                       check : "Map"\r
                },\r
                /**\r
                 * Castor representation of this object\r
@@ -35,6 +34,7 @@ qx.Class.define("org.argeo.slc.ria.execution.Spec", {
        \r
        construct : function(){\r
                this.base(arguments);\r
+               this.setValues({});\r
        },\r
        \r
        members : {\r