objectModel.put(ObjectModelHelper.REQUEST_OBJECT, request);
Context envContext = (Context) context.get(Constants.CONTEXT_ENVIRONMENT_CONTEXT);
objectModel.put(ObjectModelHelper.CONTEXT_OBJECT, envContext);
context.put(ContextHelper.CONTEXT_OBJECT_MODEL, objectModel);
EntityResolver entityResolver = (EntityResolver) getManager().lookup(EntityResolver.ROLE);
DocumentHelper.setEntityResolver(entityResolver);
}