X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;ds=sidebyside;f=org.argeo.slc.webapp%2Fsrc%2Fmain%2Fwebapp%2Fargeo-ria-lib%2Fslc%2Fclass%2Forg%2Fargeo%2Fslc%2Fria%2Fexecution%2FSpec.js;h=680cc9993c371f7f0a3a33ca0967d64f4f5a9109;hb=66f3671c9a07777edc19d8efdea0e162a68f9838;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..680cc9993 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,24 @@ 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