[xwiki-users] Closed JIRA issue 744 seems still to cause problems: getRenderedContent does not set the proper document in the context (developers Massol/Dumitru/Dubost)
Hello, I believe my yesterday's question to this list refers to the problem described in http://jira.xwiki.org/jira/browse/XWIKI-744 Anybody got similar issues? Any quick fix in sight? Thanks, Andreas
I've found a fix which works for me, and thought I'd share it with the community: This is how you render another page (pageB) inside the current page (pageA) #set($mydoc = $xwiki.getDocument("Space.pageB")) $context.setDoc($mydoc.getDocument()) #$mydoc.getRenderedContent() Without the first two lines, the content of pageA is rendered again, not pageB. I'm not sure whether this entire bug is related to this issue at all: http://jira.xwiki.org/jira/browse/XWIKI-199, but the workaround described by Ludovic does not work for me. I'm running version 1.2-milestone-1.5235 on OsX 10.4. Andreas On 11/1/07, Andreas <[email protected]> wrote:
Hello,
I believe my yesterday's question to this list refers to the problem described in http://jira.xwiki.org/jira/browse/XWIKI-744
Anybody got similar issues? Any quick fix in sight?
Thanks,
Andreas
participants (1)
-
Andreas