Changes for page HQL Scripting Examples in Velocity
Last modified by Manuel Leduc on 2023/02/02
From version 13.1
edited by Jean-Vincent Drean
on 2008/10/06
on 2008/10/06
Change comment:
There is no comment for this version
To version 14.1
edited by Jean-Vincent Drean
on 2008/10/06
on 2008/10/06
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -115,6 +115,10 @@ 115 115 #set($hql="select distinct lock.userName from XWikiLock lock") 116 116 #displayQuery($hql true) 117 117 118 +1.1.1 List attachments of a page 119 +#set($hql="select att.filename from XWikiAttachment att, XWikiDocument doc where doc.fullName='Main.WebHome' and att.docId=doc.id") 120 +#displayQuery($hql true) 121 + 118 118 1.1 Non-exhaustive list of queryable object fields 119 119 120 120 #macro(exval $value)Example of value : ~~$value~~#end