24 Sep
2012
24 Sep
'12
9:19 a.m.
On 09/24/12 09:53, Marius Dumitru Florea wrote:
Yes, but not in the class. What we usually do is create a "template" page that has an object of that type (class) and set there the default value for each object property. Then we use this template to create new pages. See http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial#HAuthoringTemp... and http://platform.xwiki.org/xwiki/bin/view/Features/Forms .
Hope this helps,
Yes, I'm using templates too. No idea why I didn't found the simpliest solution ;-), thanks. Cheers, R.