示例#1
0
        private Template getTemplate(String templateFileName)
        {
            MvcViews v = new MvcViews();

            v.setController(_currentController);
            return(v.getTemplateByFileName(templateFileName));
        }
示例#2
0
        protected String getXHtmlTemplate()
        {
            MvcViews v = new MvcViews();
            Template t = v.getTemplateByFileName(MvcConfig.Instance.GetErrorTemplateFile());

            if (t.IsTemplateExist())
            {
                return(t.getTemplateString());
            }

            return(getDefaultXHtmlTemplate());
        }