public function newInstanceByCallback($selfedit = "false", $instanceName=null) {
        $this->instanceName = $instanceName;
        $this->selfedit = $selfedit;

        $this->contentBlock->addFile(dirname(__FILE__)."/../../views/instances/newInstanceByCallback.php", $this);
        $this->template->toHtml();
    }