gatein/gatein-portal — pull request #252 by vrockai (2012-11-02 19:44:47+00:00)
Title: GTNPORTAL-2664 fixed the form to use the correct field and added field trim

This patch is fixing the GTNPORTAL-2664 issue + it's fixing another issue i've found during testing: When the display name was set to spaces only " ", the user profile link (top right) disappeared.

In the future, class component/identity/src/main/java/org/exoplatform/services/organization/idm/UserImpl.java should be deleted, but this is part of another JIRA (EXOJCR-1780). When fixing that, trimming the displayName before persistence should be considered.