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
> 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($
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))
$
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