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=680cc9993c371f7f0a3a33ca0967d64f4f5a9109;hb=fc482f660799a31c62a29b9333c6f3c458dde8d2;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..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 @@ -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,24 @@ 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