Modifications pour le document Homeopaths

Modifié par Jip-jan Alunkel le mars 14, 20:13

Depuis la version 8.126
modifié par Jip-jan Alunkel
sur décembre 08, 21:00
Commentaire de modification : Renamed from xwiki:practices.WebHome
À la version 8.128
modifié par Jip-jan Alunkel
sur décembre 08, 21:14
Commentaire de modification : Renamed from xwiki:practices.WebHome

Résumé

Détails

Propriétés de la Page
Contenu
... ... @@ -9,13 +9,15 @@
9 9  {{html wiki="false" clean="false"}}
10 10  <p>
11 11  All about homeopaths.
12 -##from XWikiSpace as space where doc.space = space.reference and ((doc.name <> 'WebHome' and lower(doc.name) like '%wiki%') or (doc.name = 'WebHome' and lower(space.name) like '%wiki%'))
13 13  
14 14  #set($q = $services.query.xwql("where doc.space like 'homeopaths.%' and doc.name like :usr"))
15 -$q.bindValue('usr', $xcontext.getUserReference().getName()).execute()
16 -###set($q = $services.query.xwql("where doc.space like 'homeopaths.%' and doc.name like '%practice%'"))
17 -##$q.execute()
18 -##
14 +#set($r = $q.bindValue('usr', $xcontext.getUserReference().getName()).execute())
15 +
16 +#if($r.size() > 0)
17 +Practice page exists.
18 +#else
19 +No practice page.
20 +#end
19 19  </p>
20 20  <div id="homeopaths_map"></div>
21 21