Changes for page Theses
From version 5.1
edited by Andrea Omicini
on 10/08/2021 17:05
on 10/08/2021 17:05
Change comment:
Document converted from syntax xwiki/2.0 to syntax xwiki/2.1
To version 6.1
edited by Andrea Omicini
on 10/08/2021 17:05
on 10/08/2021 17:05
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -Theses 1 +ReSpecT Theses - Content
-
... ... @@ -1,17 +1,1 @@ 1 -{{include document="Main.MacroSheet"/}}{{include document="ReSpecT.MacroSheet"/}} 2 -{{velocity filter="none"}}{{html clean="false" wiki="true"}} 3 -#foreach ($thesisStatus in ["Available","Ongoing","Completed"]) 4 -##tagged research on Thesis space based on tag "ReSpecT" 5 -#set( $thesisTag = "ReSpecT") 6 -#set ( $from = ", BaseObject as obj0, DBStringListProperty as prop0 join prop0.list item, BaseObject as obj1, DateProperty as prop1, StringProperty as prop2" ) 7 -#set ( $where = "obj0.className='XWiki.TagClass' and obj0.name=doc.fullName and obj0.id=prop0.id.id and prop0.id.name='tags' and lower(item)=lower('$thesisTag') and obj1.name=doc.fullName and obj1.className='Theses.ThesisClass' and obj1.name<>'Theses.ThesisClassTemplate' and prop1.id.id=obj1.id and prop1.name = 'endDate' and prop2.id.id=obj1.id and prop2.name = 'status' and prop2.value = '$thesisStatus' order by prop1.value desc" ) 8 -#set ( $sql = $from + " where " + $where ) 9 -#set($thesisFound = $xwiki.searchDocuments($sql)) 10 -#if ($thesisFound.size()>0) 11 -= $thesisStatus = 12 -#foreach ($thesis in $thesisFound)#set($thesisDoc = $xwiki.getDocument($thesis)) 13 -* [[$thesisDoc.getValue('title')>>$thesis]] 14 -#end 15 -#end 16 -#end 17 -{{/html}}{{/velocity}} 1 +{{velocity}}#set( $tag = 'ReSpecT' ){{/velocity}}{{include reference='Theses.Tag'/}}{{include reference='ReSpecT.MacroSheet'/}}