*/
public ItsNatDocumentTemplateImpl(String name,String mime,MarkupSourceImpl source,ItsNatServletImpl servlet)
{
super(name,mime,source,servlet);
ItsNatServletConfigImpl servletConfig = servlet.getItsNatServletConfigImpl();
this.commMode = servletConfig.getCommMode();
this.eventTimeout = servletConfig.getEventTimeout();
this.useGZip = servletConfig.getUseGZip();
this.fastLoadMode = servletConfig.isFastLoadMode();
this.loadScriptInline = servletConfig.isLoadScriptInline();
this.nodeCacheEnabled = servletConfig.isNodeCacheEnabled();
this.dateFormat = servletConfig.getDefaultDateFormat();
this.numberFormat = servletConfig.getDefaultNumberFormat();
this.evtDispMaxWait = servletConfig.getEventDispatcherMaxWait();
this.maxOpenClients = servletConfig.getMaxOpenClientsByDocument();
this.autoBuildComponents = servletConfig.isAutoBuildComponents();
this.referrerEnabled = servletConfig.isReferrerEnabled();
this.referrerPushEnabled = servletConfig.isReferrerPushEnabled();
this.eventsEnabled = servletConfig.isEventsEnabled();
this.scriptEnabled = servletConfig.isScriptingEnabled();
this.autoCleanEventListeners = servletConfig.isAutoCleanEventListeners();
this.useXHRSyncOnUnloadEvent = servletConfig.isUseXHRSyncOnUnloadEvent();
this.usePatternMarkupToRender = servletConfig.isUsePatternMarkupToRender();
this.selectionOnComponentsUsesKeyboard = servletConfig.isSelectionOnComponentsUsesKeyboard();
this.joystickMode = servletConfig.isJoystickMode();
this.markupDrivenComponents = servletConfig.isMarkupDrivenComponents();
this.debugMode = servletConfig.isDebugMode();
this.clientErrorMode = servletConfig.getClientErrorMode();
}