Details
Description
Current implementation will never allow addition of el resolvers regardless of the point in the app lifecycle:
/**
{@inheritDoc} */public void addELResolver(ELResolver resolver) {
// Simulate the restriction that you cannot add resolvers after
// the first request has been processed.
if (resolver != null) { throw new IllegalStateException("Cannot add resolvers now"); }
resolvers.add(resolver);
}
should read:
/** {@inheritDoc}
*/
public void addELResolver(ELResolver resolver) {
// Simulate the restriction that you cannot add resolvers after
// the first request has been processed.
if (this.resolver != null)
resolvers.add(resolver);
}