protected function showAddView($sender, $param) { $this->getEditView()->setRecordPk(null); $this->getEditView()->initializeEditForm(); $this->showEditView($sender, $param); }