From 5b2b156bcc2d402a9481fdd73dc8faf7d06dda48 Mon Sep 17 00:00:00 2001 From: Kevin Roast Date: Tue, 12 May 2009 14:23:09 +0000 Subject: [PATCH] Addition of password update/set API for JavaScript People object: - changePassword(string oldpw, string newpw) - changes password for the current user only, old password must be supplied - setPassword(string userName, string password) - set the password for the given user - only executable by an admin user Fix up and clean up of my-sites.get.js so that IMAP favorites are only retrieved if the IMAP server is enabled git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14280 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- source/java/org/alfresco/web/ui/common/component/UIPanel.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/java/org/alfresco/web/ui/common/component/UIPanel.java b/source/java/org/alfresco/web/ui/common/component/UIPanel.java index 61de0993bd..acb63693f7 100644 --- a/source/java/org/alfresco/web/ui/common/component/UIPanel.java +++ b/source/java/org/alfresco/web/ui/common/component/UIPanel.java @@ -42,7 +42,6 @@ import javax.faces.event.FacesEvent; import org.alfresco.web.ui.common.PanelGenerator; import org.alfresco.web.ui.common.Utils; import org.alfresco.web.ui.common.WebResources; -import org.apache.myfaces.el.MethodBindingImpl; /** * @author kevinr @@ -335,7 +334,7 @@ public class UIPanel extends UICommand this.titleBgcolor = (String)values[6]; this.titleBorder = (String)values[7]; this.expandedTitleBorder = (String)values[8]; - this.expandedActionListener = (MethodBindingImpl) restoreAttachedState(context, values[9]); + this.expandedActionListener = (MethodBinding)restoreAttachedState(context, values[9]); this.facetsId = (String)values[10]; }