xwiki/xwiki-platform — pull request #58 by ldubost (2012-07-15 20:26:29+00:00)
Title: Partial fix for XWIKI-4022 Improve users/groups list field displayer

First step towards fixing 4022. This patch display first_name last_name instead of the document name when calling display on a user field.

It would be good to link to the user profile in addition, but this should be done only on an HTML rendering and I'm not sure how you detect the rendering mode.

In any case to put the link in we just need to add a paramter to getText and then call getUserName with the true parameter