public TemplateCompiled(FileUrl url) { TemplateTypeDal dal = new TemplateTypeDal(); TemplateTypeInfo info = dal.view(TEMPLATEPATH.Substring(TEMPLATEPATH.LastIndexOf("/")+1)); TemplateInfo tinfo = new TemplateDal().read(info.id, "aspx/"+url.name); if(this.isEquals(tinfo.templatePath,tinfo.activePath)) init(tinfo); }