]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - org.argeo.slc.webapp/src/main/webapp/argeo-ria-lib/slc/class/org/argeo/slc/ria/execution/Flow.js
Various fixes and "ghost" implementation of reloadBundle.service and flow path.
[gpl/argeo-slc.git] / org.argeo.slc.webapp / src / main / webapp / argeo-ria-lib / slc / class / org / argeo / slc / ria / execution / Flow.js
index fae03fe39e6fb74587a972d8df3ce1b089772a32..017599ee6f2ce64999faf001ef5449a81458d9e4 100644 (file)
@@ -13,6 +13,13 @@ qx.Class.define("org.argeo.slc.ria.execution.Flow", {
                        check : "String",\r
                        init : ""\r
                },\r
+               /**\r
+                * An optional path describing this flow\r
+                */\r
+               path : {\r
+                       check : "String",\r
+                       nullable : true\r
+               },\r
                /**\r
                 * Name of the associated spec, to be found in the module \r
                 */\r
@@ -51,7 +58,11 @@ qx.Class.define("org.argeo.slc.ria.execution.Flow", {
                /**\r
                 * XPath to the values\r
                 */\r
-               XPATH_VALUES : "slc:values"\r
+               XPATH_VALUES : "slc:values",\r
+               /**\r
+                * An optional hierarchical path\r
+                */\r
+               XPATH_PATH : "@path"\r
        },\r
        \r
        construct : function(){\r
@@ -66,6 +77,7 @@ qx.Class.define("org.argeo.slc.ria.execution.Flow", {
                _applyXmlNode : function(xmlNode){\r
                        this.set({\r
                                name : org.argeo.ria.util.Element.getSingleNodeText(xmlNode, this.self(arguments).XPATH_NAME),\r
+                               path : org.argeo.ria.util.Element.getSingleNodeText(xmlNode, this.self(arguments).XPATH_PATH),\r
                                executionSpecName : org.argeo.ria.util.Element.getSingleNodeText(xmlNode, this.self(arguments).XPATH_EXEC_SPEC_NAME)\r
                        });\r
                        var values = org.argeo.ria.util.Element.selectNodes(xmlNode, this.self(arguments).XPATH_VALUES);\r