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:50
on 2018/11/05 18:50
edited by Alexandru Colesnicov
on 2018/11/05 18:52
on 2018/11/05 18:52
Change comment: There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,8 +1,8 @@ 1 1 {{velocity}} 2 2 3 - # ##set($class="Duncan1.Code.GDataClass")4 - # ##set($template="Duncan1.Code.GDataTemplate")5 - # ##set($xwlquery="from doc.object($class) as obj where doc.fullName <> '$template' order by doc.date desc")3 + #set($class="Duncan1.Code.GDataClass") 4 + #set($template="Duncan1.Code.GDataTemplate") 5 + #set($xwlquery="from doc.object($class) as obj where doc.fullName <> '$template' order by doc.date desc") 6 6 ###set($list=$services.query.xwql($xwlquery).execute()) 7 7 8 8 {{/velocity}} ... ... @@ -13,9 +13,9 @@ 13 13 print "Python version is ", sys.version 14 14 print 15 15 16 -className = "Duncan1.Code.GDataClass" 17 -template = "Duncan1.Code.GDataTemplate" 18 -xwlquery = "from doc.object(\'" + className + "\') as obj where doc.fullName <> \'" + template + "\' order by doc.date desc" 16 +# className = "Duncan1.Code.GDataClass" 17 +# template = "Duncan1.Code.GDataTemplate" 18 +# xwlquery = "from doc.object(\'" + className + "\') as obj where doc.fullName <> \'" + template + "\' order by doc.date desc" 19 19 list = services.query.xwql(xwlquery).execute() 20 20 21 21 totalF=0