Changes for page Duncan Result
Last modified by Alexandru Colesnicov on 2019/05/27 16:12
edited by Alexandru Colesnicov
on 2018/11/05 18:32
on 2018/11/05 18:32
edited by Alexandru Colesnicov
on 2018/11/05 18:55
on 2018/11/05 18:55
Change comment: There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -3,6 +3,7 @@ 3 3 #set($class="Duncan1.Code.GDataClass") 4 4 #set($template="Duncan1.Code.GDataTemplate") 5 5 #set($xwlquery="from doc.object($class) as obj where doc.fullName <> '$template' order by doc.date desc") 6 + "$xwlquery" 6 6 #set($list=$services.query.xwql($xwlquery).execute()) 7 7 8 8 {{/velocity}} ... ... @@ -13,6 +13,12 @@ 13 13 print "Python version is ", sys.version 14 14 print 15 15 17 +className = "Duncan1.Code.GDataClass" 18 +template = "Duncan1.Code.GDataTemplate" 19 +xwlquery = "from doc.object(\'" + className + "\') as obj where doc.fullName <> \'" + template + "\' order by doc.date desc" 20 +print "\"%s\"" % xwlquery 21 +# list = services.query.xwql(xwlquery).execute() 22 + 16 16 totalF=0 17 17 totalM=0 18 18 nPos=list.size()