Hi Duke,
Duke Tantiprasut a écrit :
Hi All,
How do you modify the User Profile and add additional persistent properties?
Do I modify the XWiki.XWikiUsers class?
Yes.. You can add field there
Also how do you retrieve these property values?
You can add the fields to the XWiki.XWikiUserSheet using the display API
$doc.display("propname", $obj) (see how it is done in XWiki.XWikiUserSheet)
there is also
$doc.getStringValue("propname", "XWiki.XWikiUsers")
You can also use the "Edit Object" link in "More Actions" to modify
the
data in a user page.
Thanks.
Duke
------------------------------------------------------------------------
--
You receive this message as a subscriber of the xwiki-dev(a)objectweb.org mailing list.
To unsubscribe: mailto:xwiki-dev-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?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