private Template getTemplate(String templateFileName) { MvcViews v = new MvcViews(); v.setController(_currentController); return(v.getTemplateByFileName(templateFileName)); }
protected String getXHtmlTemplate() { MvcViews v = new MvcViews(); Template t = v.getTemplateByFileName(MvcConfig.Instance.GetErrorTemplateFile()); if (t.IsTemplateExist()) { return(t.getTemplateString()); } return(getDefaultXHtmlTemplate()); }