src/Zax/Application/UI/traits/TControlAjax.php
public function enableAjax($autoAjax = TRUE, array $exclude = NULL) {
		$this->ajaxEnabled = TRUE;
		$this->autoAjax = $autoAjax;
		if(is_array($exclude)) {
			$this->disableAjaxFor($exclude);
		}
		return $this;
	}
public function enableAjax($autoAjax = TRUE, array $exclude = NULL) {
		$this->ajaxEnabled = TRUE;
		$this->autoAjax = $autoAjax;
		if(is_array($exclude)) {
			$this->disableAjaxFor($exclude);
		}
		return $this;
	}
Enables AJAX for this component and all sub-components (if they implement IAjaxAware)

@param bool $autoAjax Should call redrawControl() as soon as the component gets attached to presenter?
@param array $exclude array of subcomponent names which should be excluded from AJAXification
@return $this