mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
. Added notion of NodeEventListeners to BrowseBean.
. Fix for AWC-519 - Date pickers now show 2 year values into the future by default - for "effectivity date" searches and similar git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2386 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -25,7 +25,6 @@ import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
import javax.faces.context.FacesContext;
|
||||
import javax.faces.el.ValueBinding;
|
||||
import javax.servlet.ServletContext;
|
||||
import javax.servlet.http.HttpServlet;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
@@ -159,20 +158,6 @@ public abstract class BaseServlet extends HttpServlet
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Return a JSF managed bean reference.
|
||||
*
|
||||
* @param fc FacesContext
|
||||
* @param name Name of the managed bean to return
|
||||
*
|
||||
* @return the managed bean or null if not found
|
||||
*/
|
||||
public static Object getManagedBean(FacesContext fc, String name)
|
||||
{
|
||||
ValueBinding vb = fc.getApplication().createValueBinding("#{" + name + "}");
|
||||
return vb.getValue(fc);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if the specified JSP file is valid for a redirect after login.
|
||||
* Only a specific sub-set of the available JSPs are valid to jump directly too after a
|
||||
|
Reference in New Issue
Block a user