[xwiki-users] Display List of Users Type in User Directory

2015-05-17 Thread hubert
Dear all, I'd like to add to the user directory a field that shows the line manager of the user. The line manager himself is also a XWiki user so the presentation should be like first_name + + last_name with a hypelink to the profile page. Now I have problems with the presentation of the

Re: [xwiki-users] Display List of Users Type in User Directory

2015-05-17 Thread Sergiu Dumitriu
Whenever something doesn't work, check the type of the variables you have: $value.class In this case, it would print java.lang.String, which means that the value is a plain string, so it doesn't have any get(property) method. You want to turn that string into some kind of user. Try this: