Re: [xwiki-users] Assign user list property

2014-01-16 Thread Marius Dumitru Florea
Just put a $doc.display('reporter', 'hidden') somewhere in your form, after you set its value. It will generate an hidden input field that will ensure the reporter is saved. Hope this helps, Marius On Thu, Jan 16, 2014 at 12:12 AM, Kelly Steinke kstei...@steel-craft.ca wrote: I have a class

Re: [xwiki-users] Assign user list property

2014-01-16 Thread Kelly Steinke
Thanks Marius, I don't know why I didn't think of that works like a charm! - Original Message - From: Marius Dumitru Florea mariusdumitru.flo...@xwiki.com To: XWiki Users users@xwiki.org Sent: Thursday, January 16, 2014 8:43:54 AM Subject: Re: [xwiki-users] Assign user list property

[xwiki-users] Assign user list property

2014-01-15 Thread Kelly Steinke
I have a class called TaskManager with a property called Reporter that is of a List of Users type. What I am trying to do is assign the current user to the Reporter property when a new document is created so that the user does not have to select himself from the user list control, but I would