On Mon, Jan 28, 2013 at 10:52 AM, Richard Hierlmeier
<rhierlmeier(a)googlemail.com> wrote:
Hi Marius,
Am 28.01.2013 08:18, schrieb Marius Dumitru Florea:
On Sun, Jan 27, 2013 at 9:06 PM, Richard
Hierlmeier
<rhierlmeier(a)googlemail.com> 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#HUse…
) 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.
Do you have the new user picker (as shown in the release notes link I
gave you above) when editing the document in inline mode? When
multiple selection is off, whenever you select a user from the list of
suggestions, the new user picker overwrites the previous selection.
Yes, I have the new user picker. However after reinstalling my app the
problem went away. I don't know why.
Thank you
Richard
Hope this helps,
Marius
I think this is a bug.
Richard
Hope this helps,
Marius
Regards
Richard
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users