protected function setupTemplate()
 {
     parent::setupTemplate();
     $tid = $this->fieldData['editid'];
     $this->assign('templateID', $tid);
     $this->assign('templateFileName', MVCUtils::getTemplateFileName($tid));
     $this->assign('templateModel', MVCUtils::getModelClassNameFromDB($tid));
     $this->assign('templateViewer', MVCUtils::getViewerClassNameFromDB($tid));
     $this->assign('templateRealm', MVCUtils::getRealmIDFromDB($tid));
 }