public function onLoad($param) { parent::onLoad($param); if (!$this->isPostBack && !$this->isCallback) { $tree = $this->MyTree; $node = new ProzessRecord(); PFH::fullInTreeProzessRecord($tree, $node); $NEWRECORD = $this->NewRecord; $NEWRECORD->setText("neues Element anlegen"); $NEWRECORD->setToPage("prozess.prozessview"); $NEWRECORD->setGetVariables('modus=0'); $NEWSTRECORD = $this->NewStepRecord; $NEWSTRECORD->setText("neuen Prozessschritt anlegen"); $NEWSTRECORD->setToPage("prozess.prozessstepview"); $NEWSTRECORD->setGetVariables('modus=0'); $this->bindListOrgListe(); } }