IMPORTANT NOTE: While you can disable adding and editing, if you do that
you must simply use Grid!
function setModel($m, $f = null, $f2 = null) { parent::setModel($m, $f, $f2); if ($this->add_button) { $this->add_button->setLabel('Add ' . str_replace(array('Model_', '_'), array('', ' '), get_class($this->model))); } }
function formSubmitSuccess() { parent::formSubmitSuccess(); }