Re: [xwiki-users] Get parts of a page...

2015-06-12 Thread Thomas Mortagne
CdLS Visit our website Facebook email From: users users-boun...@xwiki.org on behalf of Thomas Mortagne thomas.morta...@xwiki.com Sent: 11 June 2015 19:46 To: XWiki Users Subject: Re: [xwiki-users] Get parts of a page... On Thu, Jun 11, 2015

Re: [xwiki-users] Get parts of a page...

2015-06-12 Thread Gerritjan Koekkoek
Subject: Re: [xwiki-users] Get parts of a page... On Thu, Jun 11, 2015 at 8:18 PM, Gerritjan Koekkoek gerrit...@cdlsworld.org wrote: I tied to replace getDocument() in this line with getTranslatedDocument()... getTranslatedDocument() is a Document API so you should not remove getDocument(). In other

Re: [xwiki-users] Get parts of a page...

2015-06-12 Thread Thomas Mortagne
voorzitter vereniging CdLS Visit our website Facebook email From: users users-boun...@xwiki.org on behalf of Thomas Mortagne thomas.morta...@xwiki.com Sent: 11 June 2015 19:46 To: XWiki Users Subject: Re: [xwiki-users] Get parts of a page

Re: [xwiki-users] Get parts of a page...

2015-06-12 Thread Gerritjan Koekkoek
of Thomas Mortagne thomas.morta...@xwiki.com Sent: 12 June 2015 11:10 To: XWiki Users Subject: Re: [xwiki-users] Get parts of a page... On Fri, Jun 12, 2015 at 10:56 AM, Gerritjan Koekkoek gerrit...@cdlsworld.org wrote: I did as you described. But nope... Can it be related to the object I have

Re: [xwiki-users] Get parts of a page...

2015-06-12 Thread Thomas Mortagne
From: users users-boun...@xwiki.org on behalf of Thomas Mortagne thomas.morta...@xwiki.com Sent: 12 June 2015 12:18 To: XWiki Users Subject: Re: [xwiki-users] Get parts of a page... On Fri, Jun 12, 2015 at 12:07 PM, Gerritjan Koekkoek gerrit...@cdlsworld.org

Re: [xwiki-users] Get parts of a page...

2015-06-12 Thread Thomas Mortagne
on behalf of Thomas Mortagne thomas.morta...@xwiki.com Sent: 12 June 2015 11:10 To: XWiki Users Subject: Re: [xwiki-users] Get parts of a page... On Fri, Jun 12, 2015 at 10:56 AM, Gerritjan Koekkoek gerrit...@cdlsworld.org wrote: I did as you described. But nope... Can it be related

Re: [xwiki-users] Get parts of a page...

2015-06-12 Thread Gerritjan Koekkoek
Users Subject: Re: [xwiki-users] Get parts of a page... On Fri, Jun 12, 2015 at 12:07 PM, Gerritjan Koekkoek gerrit...@cdlsworld.org wrote: I think I do need the block api! The goal is to inspect the first block for having a class: 'lead' But maybe I do not need the second getDocument()? As you

Re: [xwiki-users] Get parts of a page...

2015-06-11 Thread Thomas Mortagne
June 2015 18:45 To: XWiki Users Subject: Re: [xwiki-users] Get parts of a page... I'm not sure what cased the 503, maybe because I did: #foreach($topicDefenitionDoc in $topicDefenitionDocs) #set($topicDefenitionDocument=$xwiki.getDocument($topicDefenitionDoc)) #set

Re: [xwiki-users] Get parts of a page...

2015-06-11 Thread Gerritjan Koekkoek
of Thomas Mortagne thomas.morta...@xwiki.com Sent: 08 June 2015 11:19 To: XWiki Users Subject: Re: [xwiki-users] Get parts of a page... On Mon, Jun 8, 2015 at 11:11 AM, Gerritjan Koekkoek gerrit...@cdlsworld.org wrote: From: users users-boun...@xwiki.org on behalf of Thomas Mortagne thomas.morta

Re: [xwiki-users] Get parts of a page...

2015-06-11 Thread Gerritjan Koekkoek
voorzitter vereniging CdLS Visit our website Facebook email From: users users-boun...@xwiki.org on behalf of Thomas Mortagne thomas.morta...@xwiki.com Sent: 11 June 2015 13:51 To: XWiki Users Subject: Re: [xwiki-users] Get parts of a page... On Thu, Jun 11

Re: [xwiki-users] Get parts of a page...

2015-06-11 Thread Thomas Mortagne
website Facebook email From: users users-boun...@xwiki.org on behalf of Thomas Mortagne thomas.morta...@xwiki.com Sent: 11 June 2015 13:51 To: XWiki Users Subject: Re: [xwiki-users] Get parts of a page... On Thu, Jun 11, 2015 at 12:58 PM

Re: [xwiki-users] Get parts of a page...

2015-06-11 Thread Gerritjan Koekkoek
voorzitter vereniging CdLS Visit our website Facebook email From: users users-boun...@xwiki.org on behalf of Thomas Mortagne thomas.morta...@xwiki.com Sent: 11 June 2015 19:46 To: XWiki Users Subject: Re: [xwiki-users] Get parts of a page... On Thu, Jun 11

Re: [xwiki-users] Get parts of a page...

2015-06-11 Thread Gerritjan Koekkoek
From: users users-boun...@xwiki.org on behalf of Thomas Mortagne thomas.morta...@xwiki.com Sent: 11 June 2015 13:51 To: XWiki Users Subject: Re: [xwiki-users] Get parts of a page... On Thu, Jun 11, 2015 at 12:58 PM, Gerritjan Koekkoek gerrit

Re: [xwiki-users] Get parts of a page...

2015-06-08 Thread Thomas Mortagne
In your macro you could get the document and then use something like what is described in http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki61RC1#HAccesstoBlockMatchersfromvelocityscripts to extract the GroupBlock you want (i.e. the one with a parameter class equals to lead from

Re: [xwiki-users] Get parts of a page...

2015-06-08 Thread Gerritjan Koekkoek
Hi, this indeed looks very useful... We run XWiki version 6.4 From: users users-boun...@xwiki.org on behalf of Thomas Mortagne thomas.morta...@xwiki.com Sent: 08 June 2015 10:17 To: XWiki Users Subject: Re: [xwiki-users] Get parts of a page... In your

Re: [xwiki-users] Get parts of a page...

2015-06-08 Thread Thomas Mortagne
June 2015 10:17 To: XWiki Users Subject: Re: [xwiki-users] Get parts of a page... In your macro you could get the document and then use something like what is described in http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki61RC1#HAccesstoBlockMatchersfromvelocityscripts to extract

Re: [xwiki-users] Get parts of a page...

2015-06-08 Thread Gerritjan Koekkoek
From: users users-boun...@xwiki.org on behalf of Thomas Mortagne thomas.morta...@xwiki.com Sent: 08 June 2015 10:46 To: XWiki Users Subject: Re: [xwiki-users] Get parts of a page... On Mon, Jun 8, 2015 at 10:28 AM, Gerritjan Koekkoek gerrit...@cdlsworld.org wrote: Hi, this indeed looks very

Re: [xwiki-users] Get parts of a page...

2015-06-08 Thread Thomas Mortagne
On Mon, Jun 8, 2015 at 10:52 AM, Gerritjan Koekkoek gerrit...@cdlsworld.org wrote: From: users users-boun...@xwiki.org on behalf of Thomas Mortagne thomas.morta...@xwiki.com Sent: 08 June 2015 10:46 To: XWiki Users Subject: Re: [xwiki-users] Get parts of a page... On Mon, Jun 8, 2015 at 10

Re: [xwiki-users] Get parts of a page...

2015-06-08 Thread Thomas Mortagne
On Mon, Jun 8, 2015 at 11:11 AM, Gerritjan Koekkoek gerrit...@cdlsworld.org wrote: From: users users-boun...@xwiki.org on behalf of Thomas Mortagne thomas.morta...@xwiki.com Sent: 08 June 2015 11:00 To: XWiki Users Subject: Re: [xwiki-users] Get parts of a page... On Mon, Jun 8, 2015 at 10

Re: [xwiki-users] Get parts of a page...

2015-06-08 Thread Gerritjan Koekkoek
From: users users-boun...@xwiki.org on behalf of Thomas Mortagne thomas.morta...@xwiki.com Sent: 08 June 2015 11:00 To: XWiki Users Subject: Re: [xwiki-users] Get parts of a page... On Mon, Jun 8, 2015 at 10:52 AM, Gerritjan Koekkoek gerrit...@cdlsworld.org wrote: From: users users-boun

Re: [xwiki-users] Get parts of a page...

2015-06-08 Thread Gerritjan Koekkoek
thomas.morta...@xwiki.com Sent: 08 June 2015 11:19 To: XWiki Users Subject: Re: [xwiki-users] Get parts of a page... On Mon, Jun 8, 2015 at 11:11 AM, Gerritjan Koekkoek gerrit...@cdlsworld.org wrote: From: users users-boun...@xwiki.org on behalf of Thomas Mortagne thomas.morta...@xwiki.com