In fact, the subject is not so easy and after 2 hours of several tries, I give up with this. I can say that the xwiki.cfg works fine.
Maxime 2010/3/23 GeLo <le.genie.logic...@gmail.com> > I only added the property I need : "editcomment_suggested" and I commented > the value in xwiki.cfg. > Now, whatever the value is in the object editor, even when the property is > unset (empty string), the suggestion is always available. > > I restarted XWiki but it has no effect. > > Are you sure that the property has to be defined as a Sting ? > Are there special values to set (other than 0 or 1) ? > > The XWiki release is 2.2.27100 > > Maxime > > 2010/3/22 Sergiu Dumitriu <ser...@xwiki.com> > > On 03/22/2010 06:02 PM, GeLo wrote: >> > Hello, >> > >> > I have enabled the editcomment in my xwiki.cfg file. >> > >> > xwiki.editcomment=1 >> > xwiki.editcomment.mandatory=0 >> > xwiki.editcomment.suggested=1 >> > >> > It works fine, it is a smart feature. >> > >> > Now, I want to disable it for a specific Space of the wiki. >> > In the Admin Guide, I found the following : >> > "You can use the special fields in *XWikiPreferences* object instead of >> edit >> > *xwiki.cfg*. These fields are: *editcomment*, *editcomment_mandatory*, * >> > editcomment_suggested* and *editcomment_hidden*." >> > >> > Is it possible to apply theses special fields in the WebPreferences of a >> > space ? When I edit the XWiki object, I do not see any editcomment >> field. Do >> > I have to add it ? Is there any document that describes this ? >> >> Yes, you have to add those fields to the class. This means editing the >> XWiki.XWikiPreferences class, adding the new properties as >> StringProperty-s, then editing the WebPreferences document using the >> object editor. >> >> > Thank you for your help. >> > Maxime >> >> >> -- >> Sergiu Dumitriu >> http://purl.org/net/sergiu/ >> _______________________________________________ >> users mailing list >> users@xwiki.org >> http://lists.xwiki.org/mailman/listinfo/users >> > > _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users