yes, original plan is to have it in 5.2.1. I am not sure if it's
possible with changes in organization API as it's part of exo.core and
so it depends on release cycle of eXo JCR...
So we may want to postpone it to next EPP or use some other temporary
solution, which won't require changes in Organization api - like forking
class UserImpl from exo.core.organization.api into portal codebase and
add displayName to it and change UI components like
if (user instanceof ForkedUserImpl)
{
((ForkedUserImpl)user).setDisplayName(displayName);
}
else
{
log.warn("user not instance of ForkedUserImpl");
}
Second possibility can be to save displayName in some attribute of
UserProfile.
Anyway both possibilities seems to me like hacks and most proper would
be to add displayName directly into User interface in
exo.core.organization.api.
Dne 22.2.2012 22:51, Julien Viet napsal(a):
it is scoped for EPP 5.2.1 ?
On Feb 22, 2012, at 10:49 PM, Marek Posolda wrote:
> Hi,
>
> We have customers who would like to have editable "displayName" of user.
> Currently what's displayed in right top corner after login of user is
> his fullName, which is hardcoded as 'firstName lastName' . So we have
> suggestions to add new non-mandatory field displayName, which can be
> something similar like in Thunderbird
>
https://wiki.mozilla.org/Thunderbird:Help_Documentation:Using_the_Address...
> . So user can fill displayName during his registration and it will be
> displayed in right top corner in UIUserInfoPortlet. If user won't have
> displayName, it will fallback to old behaviour and it will show fullName
> instead of it.
>
> What do you think about it? I already created JIRA
>
https://issues.jboss.org/browse/GTNPORTAL-2358 with attached patches.
> First patch is for required changes in
> exo.core.component.organization.api . It's about adding 2 new methods
> "getDisplayName" and "setDisplayName" to interface User and
change
> UserImpl implementation and other things according to it. Should I
> create JIRA into EXOJCR project for it?
> Second patch is for GateIn where needed changes are:
> - Adding new field into all portlets for creating and updating of user
> - Changing logic in UIUserInfoPortlet to use displayName with fallback
> to fullName
>
> Any objections?
>
> Thanks,
> Marek
> _______________________________________________
> gatein-dev mailing list
> gatein-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/gatein-dev