Thanks, it's very helpful. Cheers, R. On 11/27/12 08:47, Marius Dumitru Florea wrote:
You can't and I don't see why you would need to edit in Wiki or WYSIWYG mode those pages. Once you add an object with a sheet to a page you basically make that page a structured page and thus the user needs to edit the structured data when he clicks Edit. It's not a plain wiki page any more.
Now, you may want to still use the page content and title to store some data besides the structured data from the attached object, which is possible and easy to do. You just need to add the content and title fields to your sheet, at least in edit mode. You can start with:
{{velocity}} ; Title : {{html}}<input type="text" name="title" value="$escapetool.xml($tdoc.title)"/>{{/html}} ; Content : {{html}}$xwiki.getTextArea($tdoc.content){{/html}} {{/velocity}}
For a more advanced display see the AppWithinMinutes.Title and AppWithinMinutes.Content pages from XE 4.3 (or on https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-core/xwik...)
Hope helps, Marius
TIA
R.
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- jabber: [email protected] skype: ryszard.lach.contium CONTIUM S.A. http://www.contium.pl tel.: (71) 35 84 112 sekretariat: (71) 35 84 100 tel. kom: +48 502 724 115 GPG Key ID: 0x05792F34