Hi Marius, Am 28.01.2013 08:18, schrieb Marius Dumitru Florea:
On Sun, Jan 27, 2013 at 9:06 PM, Richard Hierlmeier <[email protected]> wrote:
Hi list,
Hi Richard,
how can i restrict in xwiki a "List of users" property to a single username so that in inline editing mode only one username can be entered?
What version of XWiki are you using?
4.4
In any case, the "List of users" property has a meta-property named "Multiple Select". Edit your class (the one that has the "List of users" property) and make sure this meta-property is unchecked. If you use a recent version of XWiki (>=4.3M2, see http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki43M2#HUser... ) then the "List of users" property has a user picker that takes the "Multiple Select" meta-property into account.
The Mutiple Select meta-property of the user property is unchecked, however when editing the document with the inline editor I can still add more than one user to the property. When saving the document only the last username from the list of users is stored in the object. I think this is a bug. Richard
Hope this helps, Marius
Regards
Richard _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users