Changes between Version 12 and Version 13 of AjaxList


Ignore:
Timestamp:
2010-09-02T17:51:14Z (14 years ago)
Author:
Serge Okon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AjaxList

    v12 v13  
    2727
    2828==== Instantiation ====
    29 var $components = array('AjaxList',
     29There is usually a single list per controller in cakePHP. The first step should be to include the ajax List component into your controller, but declaring a $components variable, inside the controller class.
     30{{
     31var $components = array('AjaxList');
     32}}}
     33If the $components variable already exists, just add the ajax list to the array
     34var $components = array('ExistingComponenet1', 'AjaxList', 'ExistingComponenet2');
    3035
    3136==== Columns ====