Modifiche per il documento Tesi
Dalla versione 24.1
modificato da Andrea Omicini
il 23/07/2022 01:13
il 23/07/2022 01:13
Cambia il commento:
Nessun commento per questa versione
Alla versione 12.1
modificato da Andrea Omicini
il 11/12/2020 17:26
il 11/12/2020 17:26
Cambia il commento:
Nessun commento per questa versione
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Padre
-
... ... @@ -1,1 +1,0 @@ 1 -Alchemist.WebHome - Syntax
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki 2. 11 +XWiki 2.0 - Content
-
... ... @@ -1,7 +1,15 @@ 1 -= {{stringEngIta eng="Theses" ita="Tesi"/}} = 1 +{{velocity filter="none"}}{{html clean="false" wiki="true"}} 2 +##tagged research on Thesis space based on tag "Alchemist" 3 +#set( $thesisTag = "Alchemist") 4 +## completed 5 +#set( $thesisStatus = "Completed") 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 +#foreach ($thesis in $thesisFound)#set($thesisDoc = $xwiki.getDocument($thesis)) 11 +* [[$thesisDoc.getValue('title')>>$thesis]] 12 +#end 13 +{{/html}} 2 2 3 -{{velocity}} 4 -#set( $tag = 'Alchemist' ) 5 -{{/velocity}}{{include reference="Theses.Tag"/}} 6 - 7 -{{include reference="Environment" excludeFirstHeading="true"/}} 15 +#foreach ($thesisStatus in ["Availble","Completed"]) $thesisStatus #end