/** * Re-implements form control marking for combined user and group multi select fields. * * @author Christian Achatz * @version * Version 0.1, 05.06.2010<br /> */ public function notify() { $this->control->markAsInvalid(); $this->alternativeControl->markAsInvalid(); $this->markControl($this->control); $this->markControl($this->alternativeControl); // only mark one listener, because we need to display one error message $this->notifyValidationListeners($this->control); }
protected function getSelectBox() { $select = new MultiSelectBoxTag(); $select->setAttribute('name', self::SELECT_BOX_NAME); return $select; }