Hello,
I can answer myself, sorry for bothering you ... ;)
In fact I merely had to use a <iframe> and it works perfectly (and very
nicely).
Regards,
Jeremie
________________________________
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
Of BOUSQUET Jeremie
Sent: jeudi 29 novembre 2007 15:44
To: users(a)xwiki.org
Subject: [xwiki-users] Getting rendered content of a page with a
specifictemplate
Hello,
I have a page showing a timeline, to display it I need to do the
following because this page redefines <head> and <body> :
http://mywiki/xwiki/bin/view/WikiDev/TimeLine?xpage=plain
It's a simile timeline, and I got the sample from here
<http://www.jeremi.info/index.php/post/2006/11/28/Simile-Timeline> ,
from Jeremi's site (thank you if you read it to make me discover the
simile timeline ! ;) ).
I would like to insert this rendered page in another wiki page. I wrote
this:
$xwiki.getDocument('WikiDev.TimeLine').getRenderedContent()
Of course it's not correct, because I would like plain template to be
applied to retrieve the rendered content. How can I proceed ?
Another way would be for this very page to be able to redefine <head>
and <body> properly, but I don't know how to make it (and to make it
correctly, and for this only page).
Thanks ,
Jeremie