X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=org.argeo.slc.webapp%2Fsrc%2Fmain%2Fwebapp%2Fargeo-ria-lib%2Fslc%2Fclass%2Forg%2Fargeo%2Fslc%2Fria%2Fexecution%2FSpec.js;h=29685eb0ef1d0d244e261bcd69d9e775ed70e45e;hb=5aa18045bcdd46992b9417f7864fec455e9fc979;hp=85a8d4a514127998b4e5f37040bca7e4cb65ec58;hpb=51d1c842e4e92cc65708b8bb88152d7344d43d04;p=gpl%2Fargeo-slc.git diff --git a/org.argeo.slc.webapp/src/main/webapp/argeo-ria-lib/slc/class/org/argeo/slc/ria/execution/Spec.js b/org.argeo.slc.webapp/src/main/webapp/argeo-ria-lib/slc/class/org/argeo/slc/ria/execution/Spec.js index 85a8d4a51..29685eb0e 100644 --- a/org.argeo.slc.webapp/src/main/webapp/argeo-ria-lib/slc/class/org/argeo/slc/ria/execution/Spec.js +++ b/org.argeo.slc.webapp/src/main/webapp/argeo-ria-lib/slc/class/org/argeo/slc/ria/execution/Spec.js @@ -30,7 +30,7 @@ qx.Class.define("org.argeo.slc.ria.execution.Spec", { statics : { XPATH_NAME : "@name", - XPATH_VALUES : "slc:values" + XPATH_VALUES : "slc:values/slc:value" }, construct : function(){ @@ -45,7 +45,28 @@ qx.Class.define("org.argeo.slc.ria.execution.Spec", { _applyXmlNode : function(xmlNode){ // Parse now this.setName(org.argeo.ria.util.Element.getSingleNodeText(xmlNode, this.self(arguments).XPATH_NAME)); - } + var values = org.argeo.ria.util.Element.selectNodes(xmlNode, this.self(arguments).XPATH_VALUES); + var parsedValues = {}; + for(var i=0;i'+valuesXml+''; + } } }); \ No newline at end of file