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=6b430a3de7894b5aa10a60a0cfdbc7f890901391;hpb=b07b5d7a34c6954b702a5d9ce8b8926b2a6a1191;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 6b430a3de..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 @@ -1,7 +1,7 @@ /** * Wrapper for ExecutionSpec server object */ -qx.Class.define("org.argeo.slc.ria.module.ExecutionSpec", { +qx.Class.define("org.argeo.slc.ria.execution.Spec", { extend : qx.core.Object, @@ -30,10 +30,12 @@ qx.Class.define("org.argeo.slc.ria.module.ExecutionSpec", { statics : { XPATH_NAME : "@name", - XPATH_VALUES : "slc:values" + XPATH_VALUES : "slc:values/slc:value" }, - construct : function(){}, + construct : function(){ + this.base(arguments); + }, members : { /** @@ -43,7 +45,28 @@ qx.Class.define("org.argeo.slc.ria.module.ExecutionSpec", { _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