On Thu, Jul 9, 2009 at 7:53 PM, Pascal
Voitot<pascal.voitot.dev(a)gmail.com> wrote:
Hello,
I can now edit sections on my 1.9RCx (modifications where light so I could
retrofit them)
But when I do sthg like:
{{include document="MyDocument"/}}
I don't see the section editing for the included content.
Is it the default behavior not to propose section editing when the document
is included into another one?
Yes, the rule is: if a title is output by a macro (include, velocity,
etc) don't provide a link to edit the section.
The reason we forbid editing of section generated by scripts
(velocity, etc) is quite obvious, these titles can be generated and
thus we wouldn't be able to find them in the wiki source. About titles
coming from included documents, from a usability standpoint it could
be misleading to be redirected to the edition of another document.
Note that the behavior of section editing with xwiki/2.0 mimics the
xwiki/1.0 behavior.
Thanks,
JV.