mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
User Profile additions (for collaboration UI) - various new fields in User Profile screen including use of ajax file picker for Avatar image selection
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7480 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -355,7 +355,15 @@ public abstract class BaseAjaxItemPicker extends UIInput
|
||||
ValueBinding vb = getValueBinding("initialSelection");
|
||||
if (vb != null)
|
||||
{
|
||||
this.initialSelectionId = (String)vb.getValue(getFacesContext());
|
||||
Object objSelection = vb.getValue(getFacesContext());
|
||||
if (objSelection instanceof NodeRef)
|
||||
{
|
||||
this.initialSelectionId = ((NodeRef)objSelection).toString();
|
||||
}
|
||||
else
|
||||
{
|
||||
this.initialSelectionId = (String)objSelection;
|
||||
}
|
||||
}
|
||||
|
||||
return this.initialSelectionId;
|
||||
|
Reference in New Issue
Block a user