Hi Yves,
It's not clear to me what result you are actually getting and what you
expect.. What do you have in your Sicilia document..
Recursive includes can indeed have unexpected results when you mix Forms
and Topic includes..
Ludovic
Yves Langisch wrote:
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-users(a)objectweb.org mailing list.
To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws
--
You receive this message as a subscriber of the
xwiki-users(a)objectweb.org mailing list.
To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws
------------------------------------------------------------------------
--
You receive this message as a subscriber of the xwiki-users(a)objectweb.org mailing list.
To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws