11 Dec
2015
11 Dec
'15
11:55 a.m.
Good day. I'm trying to add users to a users list within a object. After I have instanciated the object on the document which I want to ammend, how do I "set" and "get" the user list property in a java component? I have: BaseObject domainObject = doc.getXObject(referenceClass); domainObj.set("lisfOfUsers", ??user?? , xcontext); domainObj is of a class where the "lisfOfUsers" is a List of Users property. Currently I have the username as a string. I have tried creating a User or XWikiUser object and setting the property with the object but with no success. -- View this message in context: http://xwiki.475771.n2.nabble.com/Adding-users-to-a-user-list-form-a-java-co... Sent from the XWiki- Users mailing list archive at Nabble.com.