Re: [xwiki-users] Parameter in different contexts

2016-04-16 Thread Matthias Wegner
Perfect, thanks. Regards, M. Am 15.04.2016 um 19:10 schrieb Vincent Massol: On 15 Apr 2016, at 18:58, Matthias Wegner wrote: Hi Vincent, sorry i was not specific. Here an example: I want to make a page like: MAIN.Overall {{velocity}} #set($SUPERCOUNTER=0) #set($hql = "where ... order by doc

Re: [xwiki-users] Parameter in different contexts

2016-04-15 Thread Vincent Massol
> On 15 Apr 2016, at 18:58, Matthias Wegner wrote: > > Hi Vincent, > > sorry i was not specific. > > Here an example: > > I want to make a page like: > MAIN.Overall > {{velocity}} > #set($SUPERCOUNTER=0) > #set($hql = "where ... order by doc.title asc") > #set($docs = $xwiki.searchDocuments($

Re: [xwiki-users] Parameter in different contexts

2016-04-15 Thread Matthias Wegner
Hi Vincent, sorry i was not specific. Here an example: I want to make a page like: MAIN.Overall {{velocity}} #set($SUPERCOUNTER=0) #set($hql = "where ... order by doc.title asc") #set($docs = $xwiki.searchDocuments($hql, 0, 0)) #foreach ($dd in $docs) #set( $d = $xwiki.getDocument($dd)) $

Re: [xwiki-users] Parameter in different contexts

2016-04-14 Thread Vincent Massol
Hi Matthias, > On 14 Apr 2016, at 19:05, Matthias Wegner wrote: > > Hi All, > > i want to count over different document a $counter in velocity. Do you have > an easy way that i can store and read that value so i can use it on all > documents (with different context)? Sorry, I don’t understand