The problem seems to be that the included document has an includeForm statement again. When I try to include a doc without further includes it works. How can this be solved? On 22.09.2005, at 23:59, Yves Langisch wrote:
when I replace #includeTopic("YlaTst.Sicilia") by $xwiki.getDocument("YlaTst.Sicilia").getRenderedContent() I get the same result?!?
Any help appreciated...Yves
On 22.09.2005, at 23:50, Yves Langisch wrote:
Hi,
I try to display a document inlined of another one:
snippet from my CountryClassSheet:
<table border="1" cellspacing="0" cellpadding="2"> #foreach($prop in $class.properties) <tr> <td> *${prop.prettyName}* </td> #if ($prop.name == "region") <td> #includeTopic("YlaTst.Sicilia") </td> #else <td>$doc.display($prop.getName())</td> #end </tr> #end
The problem is that the including document itself is included instead of the YlaTst.Sicilia document ! It's inlined only once without recursion.
What's wrong here?
Yves
-- You receive this message as a subscriber of the xwiki- [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http:// www.objectweb.org/wws
-- You receive this message as a subscriber of the xwiki- [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/ wws