/** * Initalize and add the default navigation templates. Add the side bar * if required. * @param TEventParameter event parameter to be passed to the event handlers */ protected function onLoad($param) { parent::onLoad($param); $this->addNavigationButtons(); if ($this->isSideBarVisible()) { $this->addNavigationSideBar(); } }
public function onLoad($param) { parent::onLoad($param); // initially hides the modalpanel $this->Attributes->style = "display:none;"; }