Quick answer. Works perfectly. Many thanks again. 2009/9/8 Vincent Massol <[email protected]>
> Hi Olivier, > > On Sep 8, 2009, at 9:48 AM, Olivier Texier wrote: > > > Hi all, > > > > I am looking for a way to display in the current document the > > browsable list > > of others documents linking to it. > > > > Example : > > > > - Doc A has a link to doc C > > - Doc B has a link to doc C > > > > In doc C, I want to have two generated links "Doc A" and "Doc B" > > that a user > > can click. > > This is called backlinks. You have them listed in the Information tab > at the bottom. > > You can add them using $doc.getBacklinks() > > For example in velocity: > > #foreach($item in $doc.getBacklinks()) > * [$item] > #end > > Thanks > -Vincent > > > > > Is the solution a velocity or groovy script ? > > > > Many thanks, > > > > Olivier > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users > _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
