[xwiki-users] "Inline" mode
Peter Flynn
pflynn at adobe.com
Wed Dec 13 23:23:14 CET 2006
Aha, now I understand what was happening: we were using #includeForm() as a way of inserting snippets of boilerplate text (like the "non-neutrality" warnings seen on Wikipedia, etc.). Since those snippets weren't really proper forms, the "Edit this Page" behavior looked screwed up-nothing was becoming editable, so it looked like just another static view of the page.
I've worked around this by writing a new #insert() macro that simply wraps #includeForm() so that XWiki doesn't see it being referenced in the page. (It would also work to just switch to #includeTopic(), but I want macros in the snippets to be evaluated in the including page's context).
Thanks for the lead, Vincent!
- Peter
________________________________
From: Vincent Massol [mailto:vincent at massol.net]
Sent: Wednesday, December 13, 2006 12:39 AM
To: xwiki-users at objectweb.org
Subject: RE: [xwiki-users] "Inline" mode
Hi Peter,
I wondered about this myself and documented it here: http://www.xwiki.org/xwiki/bin/view/UserGuide/PageEdition#HFormeditionmode28akainlinemode29 in the user guide.
Thanks
-Vincent
From: Peter Flynn [mailto:pflynn at adobe.com]
Sent: mardi 12 décembre 2006 23:09
To: xwiki-users at objectweb.org
Subject: [xwiki-users] "Inline" mode
Hi everyone,
I'm wondering about the "inline" view of pages -- i.e. when the URL contains "xwiki/bin/inline". There are certain pages on my wiki where the "Edit this Page" link sporadically redirects to this view rather than the usual "xwiki/bin/edit" URL. Does anyone know why this might be?
Thanks,
- Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xwiki.org/pipermail/users/attachments/20061213/fdb45bf7/attachment-0001.html
More information about the users
mailing list