Discussion:
[xwiki-notifications] [xwiki/xwiki-platform] 40650c: XWIKI-11316: No way to access the document current...
GitHub
2014-10-23 12:31:39 UTC
Permalink
Branch: refs/heads/stable-6.2.x
Home: https://github.com/xwiki/xwiki-platform
Commit: 40650c1ee7f0bf47a31185f7d3f5fadb0b39622d
https://github.com/xwiki/xwiki-platform/commit/40650c1ee7f0bf47a31185f7d3f5fadb0b39622d
Author: Anca Luca <lucaa-l2mTs9s+***@public.gmane.org>
Date: 2014-10-23 (Thu, 23 Oct 2014)

Changed paths:
M xwiki-platform-core/xwiki-platform-web/src/main/webapp/templates/pdf.vm

Log Message:
-----------
XWIKI-11316: No way to access the document currently being exported from the pdf template
* Added a velocity variable in pdf.vm to store the current translated document ($tdoc), this way when $tdoc will be changed by the render function of the pdftemplate properties, this var will still point to the current document being exported.
(cherry picked from commit 728113153ea85de791921435d15d6cc11f0717d1)
Loading...