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 <vonhessling+xwiki.org(a)gmail.com> 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