*
* @return The MVEL evaluator.
*/
private MVELAttributeEvaluator createMVELEvaluator() {
TilesRequestContextHolder requestHolder = new TilesRequestContextHolder();
VariableResolverFactory variableResolverFactory = new ScopeVariableResolverFactory(requestHolder);
variableResolverFactory.setNextFactory(new TilesContextVariableResolverFactory(requestHolder));
variableResolverFactory.setNextFactory(new TilesContextBeanVariableResolverFactory(requestHolder));
MVELAttributeEvaluator mvelEvaluator = new MVELAttributeEvaluator(requestHolder, variableResolverFactory);
return mvelEvaluator;
}