Actually Stéphane, I'd be interested in seeing what you have done in this area. We are starting to look at setting up a generic way of giving a specific hibernate mapping to an XWiki Class. The objective would be to use that first for the user, groups and preferences. I think we will look to put a system in place that will speed up reading and writing of these core objects while still allowing to customize them and add properties You could publish the code on xwiki.org so we can have a look. Ludovic Stéphane Laurière a écrit :
Hi Duke, Luis,
Luis Arias wrote:
Hi Duke,
Stéphane Laurière of Mandriva has done some excellent work in this area. If I remember our discussion with Ludovic about this, its better to create a new class like maybe XWiki.UserProfile add your extra properties there and modify the forms to take the new fields into account. There may be some tricky stuff there. Stéphane do you have a simple example that Duke could use to get started ? This should be packaged in the default database I suppose.
Luis.
Sorry for the late answer. Actually what I did has consisted in creating an additional Hibernate mapping for storing XWikiUsers into a dedicated table, for various reasons. I've created a mapping for storing groups too. I'm at your disposal if you need something like this.
Stéphane
------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Ludovic Dubost XPertNet: http://www.xpertnet.fr/ Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost AIM: nvludo Yahoo: ludovic