X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=server%2Forg.argeo.slc.ria%2Fsrc%2Fargeo-ria-lib%2Fslc%2Fclass%2Forg%2Fargeo%2Fslc%2Fria%2Fexecution%2FFlow.js;h=449b1220fda460d109e6f3b4235a2b98471854a1;hb=d8f7abb3102580b01ffbeecc201f7bdfbd082150;hp=017599ee6f2ce64999faf001ef5449a81458d9e4;hpb=d8e9131cdd34b663a03008df8eb97616694259ce;p=gpl%2Fargeo-slc.git diff --git a/server/org.argeo.slc.ria/src/argeo-ria-lib/slc/class/org/argeo/slc/ria/execution/Flow.js b/server/org.argeo.slc.ria/src/argeo-ria-lib/slc/class/org/argeo/slc/ria/execution/Flow.js index 017599ee6..449b1220f 100644 --- a/server/org.argeo.slc.ria/src/argeo-ria-lib/slc/class/org/argeo/slc/ria/execution/Flow.js +++ b/server/org.argeo.slc.ria/src/argeo-ria-lib/slc/class/org/argeo/slc/ria/execution/Flow.js @@ -36,7 +36,8 @@ qx.Class.define("org.argeo.slc.ria.execution.Flow", { * The values to init the ExecutionSpec */ values : { - check : "Node" + check : "Node", + nullable : true }, /** * Castor representation of the object @@ -81,7 +82,9 @@ qx.Class.define("org.argeo.slc.ria.execution.Flow", { executionSpecName : org.argeo.ria.util.Element.getSingleNodeText(xmlNode, this.self(arguments).XPATH_EXEC_SPEC_NAME) }); var values = org.argeo.ria.util.Element.selectNodes(xmlNode, this.self(arguments).XPATH_VALUES); - this.setValues(values[0]); + if(values[0]){ + this.setValues(values[0]); + } }, /** * Get a given value inside the values map