Modifiche per il documento Tesi

Dalla versione 27.1
modificato da Andrea Omicini
il 26/10/2023 17:14
Cambia il commento: Nessun commento per questa versione
Alla versione 14.1
modificato da Andrea Omicini
il 11/12/2020 17:27
Cambia il commento: Nessun commento per questa versione

Summary

Details

Page properties
Titolo
... ... @@ -1,1 +1,0 @@
1 -$services.localization.render('theses')
Padre
... ... @@ -1,1 +1,0 @@
1 -Alchemist.WebHome
Syntax
... ... @@ -1,1 +1,1 @@
1 -XWiki 2.1
1 +XWiki 2.0
Content
... ... @@ -1,3 +1,18 @@
1 -{{velocity}}
2 -#set( $tag = 'Alchemist' )
3 -{{/velocity}}{{include reference="Theses.Clouds.OneTag" excludeFirstHeading="true"/}}
1 +{{velocity filter="none"}}{{html clean="false" wiki="true"}}
2 +#foreach ($thesisStatus in ["Available","Ongoing","Completed"])
3 +
4 += $thesisStatus =
5 +
6 +##tagged research on Thesis space based on tag "Alchemist"
7 +#set( $thesisTag = "Alchemist")
8 +#set ( $from = ", BaseObject as obj0, DBStringListProperty as prop0 join prop0.list item, BaseObject as obj1, DateProperty as prop1, StringProperty as prop2" )
9 +#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" )
10 +#set ( $sql = $from + " where " + $where )
11 +#set($thesisFound = $xwiki.searchDocuments($sql))
12 +#foreach ($thesis in $thesisFound)#set($thesisDoc = $xwiki.getDocument($thesis))
13 +* [[$thesisDoc.getValue('title')>>$thesis]]
14 +#end
15 +#end
16 +{{/html}}
17 +
18 +

Logo