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@massol.net]
Sent: Wednesday, December 13, 2006 12:39 AM
To: xwiki-users@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@adobe.com]
Sent: mardi 12 décembre 2006 23:09
To: xwiki-users@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