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