On Mon, Apr 27, 2009 at 16:07, Sergiu Dumitriu <sergiu(a)xwiki.com> wrote:
  Thomas Mortagne wrote:
  Hi dev,
 My use case is 
http://jira.xwiki.org/jira/browse/XWIKI-3418
 WDYT ?
 Here is my +1
 
 Could you explain a bit? Current to what? Is it the document
 corresponding to the request URL, and which stays the same during all
 processing, or is it the "context document" that can be changed by
 include calls? 
DocumentAccessBridge has only access to document from context (it
could recalculate the document corresponding to the URL but this is
difficult).
Note that 
http://jira.xwiki.org/jira/browse/XWIKI-3418 is executed in
the XHTML renderer after all the includes and so the context document
is the rendered document and not the document where the link is.
  --
 Sergiu Dumitriu
 
http://purl.org/net/sergiu/
 _______________________________________________
 devs mailing list
 devs(a)xwiki.org
 
http://lists.xwiki.org/mailman/listinfo/devs
 
--
Thomas Mortagne