Sorry for confusing you, I was wrong. I still trying to find my way through the api.
Am 26.08.2011 16:45, schrieb Thomas Mortagne: > On Fri, Aug 26, 2011 at 4:38 PM, Sergiu Dumitriu<ser...@xwiki.com> wrote: >> On 08/26/2011 04:19 AM, Grüner Heinrich wrote: >>> Hi, >>> >>> I have a java plugin which is running in a panel. >>> Now I want to find out which main document is currently displayed. >>> The context of the Plugin only refers to the Panel document. >> Are you sure? $doc (in velocity) refers to the document being displayed >> (the one specified in the URL). I expect the context document to be the >> same. > Same for me, AFAIK $doc is supposed to be the current document and not > the panel document. > >> -- >> Sergiu Dumitriu >> http://purl.org/net/sergiu/ >> _______________________________________________ >> users mailing list >> users@xwiki.org >> http://lists.xwiki.org/mailman/listinfo/users >> > > _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users