mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Page Renderer prototype point checkin
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6842 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -56,10 +56,10 @@ import freemarker.template.TemplateExceptionHandler;
|
||||
public class TemplateProcessor extends FreeMarkerProcessor implements ApplicationContextAware, ApplicationListener
|
||||
{
|
||||
private ProcessorLifecycle lifecycle = new ProcessorLifecycle();
|
||||
private TemplateLoader templateLoader = null;
|
||||
private String defaultEncoding;
|
||||
private Configuration templateConfig;
|
||||
private FreeMarkerProcessor freeMarkerProcessor;
|
||||
protected TemplateLoader templateLoader = null;
|
||||
protected String defaultEncoding;
|
||||
protected Configuration templateConfig;
|
||||
protected FreeMarkerProcessor freeMarkerProcessor;
|
||||
|
||||
|
||||
/* (non-Javadoc)
|
||||
@@ -154,6 +154,9 @@ public class TemplateProcessor extends FreeMarkerProcessor implements Applicatio
|
||||
// rethrow any exception so we can deal with them
|
||||
config.setTemplateExceptionHandler(TemplateExceptionHandler.RETHROW_HANDLER);
|
||||
|
||||
// turn off locale sensitive lookup - to save numerous wasted calls to nodeservice.exists()
|
||||
config.setLocalizedLookup(false);
|
||||
|
||||
// set template encoding
|
||||
if (defaultEncoding != null)
|
||||
{
|
||||
|
@@ -54,13 +54,13 @@ public class WebScriptServlet extends HttpServlet
|
||||
private static final Log logger = LogFactory.getLog(WebScriptServlet.class);
|
||||
|
||||
// Component Dependencies
|
||||
private DeclarativeWebScriptRegistry registry;
|
||||
private ServiceRegistry serviceRegistry;
|
||||
private WebScriptServletAuthenticator authenticator;
|
||||
protected DeclarativeWebScriptRegistry registry;
|
||||
protected ServiceRegistry serviceRegistry;
|
||||
protected WebScriptServletAuthenticator authenticator;
|
||||
protected ConfigService configService;
|
||||
|
||||
/** Host Server Configuration */
|
||||
private static ServerConfigElement serverConfig;
|
||||
protected static ServerConfigElement serverConfig;
|
||||
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user