Additions:
// the ammount of objects that you intent to get.
$pagingInfo = new PagingInfo($this->_request->getValue('limit'));
//Set the current index (selects the page)
$pagingInfo->setIndex($this->_request->getValue('start'));
// execute this code only if the action is autocomplete
$ChiBusinessObjectList = $query->execute(BUILDDEPTH_SINGLE, null, $pagingInfo);
Deletions:
// execute this code only if
$ChiBusinessObjectList = $query->execute(BUILDDEPTH_SINGLE);
Additions:
this is an example how to [[ProgrammingControllers program a controller]] in wCMF using the [[ObjectQuery Object Query]].
Deletions:
this is an example how to program a controller in wCMF.
Additions:
This controller get a parameter containing a string and look for all objects of the type "ChiBusinessUseCase" present in the model.
this is an example how to program a controller in wCMF.