Variant:
jerem wrote
> obj.tMembers like '%${usedUser}%'
working great!
Thanks a lot!
Eugen Colesnicov
--
View this message in context:
http://xwiki.475771.n2.nabble.com/multi-select-property-xwql-quering-tp7581692p7581704.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
_
Sorry that's right, it's not mapped as a list but as a comma separated string.
Your approach with 'like' should work but you miss the % :
obj.tMembers like '%${usedUser}%'
2012/10/8 Eugen Colesnicov :
> Hello!
> I need help with xwql quering.
>
> I have my own class with property tMembers with
Thanks! but unfortunatly vairant
jerem wrote
> '$usedUser' member of obj.tMembers
doesn't work ...
I got an error:
...
Caused by: org.xwiki.query.QueryException: Exception while execute query.
Query statement = [ select doc.fullName from XWikiDocument as doc ,
BaseObject as obj , com.xpn.xwiki.
Hello,
I did not test the following, but in this case obj.tMembers is not a
simple value but a list.
You could try something like
'$usedUser' member of obj.tMembers
Br,
Jeremie
2012/10/8 Eugen Colesnicov :
> Hello!
> I need help with xwql quering.
>
> I have my own class with property tMembers w