Re: [xwiki-users] Custom properties for XWikiUsers class
Hi Valdis, On Tue, Jan 26, 2010 at 3:20 PM, Valdis Vītoliņš <[email protected]>wrote:
Thanks Guillaume, I'll use added custom object then.
Ok. Let us know how it goes. Guillaume PS: btw, you should always reply the list and not the individual sender otherwise answers don't get logged ;-) Valdis
Hi Valdis,
On Tue, Jan 26, 2010 at 12:52 PM, Valdis Vītoliņš <[email protected]> wrote:
For custom application I need to add more properties for ../xwiki/bin/edit/XWiki/XWikiUsers?editor=class Is it acceptable/recommended way or other (more complicated?) approach would be better? Do you have any experience?
It would work. However I'd recommend an alternative approach:
- Create a XWiki.ExtendUserClass holding your properties - Add an object from this class to your user profiles - Use it to store information
This way you can upgrade the XWikiUsers class when needed.
Guillaume
Thanks in advance, Valdis _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Guillaume Lerouge Product Manager - XWiki SAS Skype: wikibc Twitter: glerouge http://guillaumelerouge.com/
-- Guillaume Lerouge Product Manager - XWiki SAS Skype: wikibc Twitter: glerouge http://guillaumelerouge.com/
participants (1)
-
Guillaume Lerouge