protected EvaluationContext getEvaluationContext(WebRequest request) {
        final HttpServletRequest httpRequest =
                this.portalRequestUtils.getOriginalPortalRequest(request);
        final IUserInstance userInstance = this.userInstanceManager.getUserInstance(httpRequest);
        final IPerson person = userInstance.getPerson();

        final SpELEnvironmentRoot root = new SpELEnvironmentRoot(request, person);
        final StandardEvaluationContext context = new StandardEvaluationContext(root);
        context.setBeanResolver(this.beanResolver);
        return context;
    }
protected EvaluationContext getEvaluationContext ( WebRequest request ) { final HttpServletRequest httpRequest = this . portalRequestUtils . getOriginalPortalRequest ( request ) ; final IUserInstance userInstance = this . userInstanceManager . getUserInstance ( httpRequest ) ; final IPerson person = userInstance . getPerson ( ) ; final SpELEnvironmentRoot root = new SpELEnvironmentRoot ( request , person ) ; final StandardEvaluationContext context = new StandardEvaluationContext ( root ) ; context . setBeanResolver ( this . beanResolver ) ; return context ; }
Return a SpEL evaluation context for the supplied web request.

@param request
@return