Property "HelloWorldAjaxController.breadcrumbs" is not defined.

Hello. Testing this cookbook http://www.yiiframework.com/doc/cookbook/49/ I get the error:


CException

Description


Property "HelloWorldAjaxController.breadcrumbs" is not defined.

Source File


/home/guia/domains/guia.....net/public_html/yii-web/protected/views/helloWorldAjax/index.php(3)


00001: <?php

00002: //$this->pageTitle=Yii::app()->name . ' - Ajax Content';

00003: $this->breadcrumbs=array(

00004:     'helloWorldAjax',

00005: );

00006: ?>

00007: http://www.yiiframework.com/doc/cookbook/49/

00008: <br>

00009: <div id="data">

00010:    <?php  $this->renderPartial('_ajaxContent', array('myValue'=>$myValue)); ?>

00011: </div>

00012: <?php echo CHtml::ajaxButton ("Update data",

00013:                               CController::createUrl('helloWorldAjax/UpdateAjax'), 

00014:                               array('update' => '#data'));

00015: ?>




And then I added breadcrumbs property into /yii-web/protected/views/helloWorldAjax/index.php file like follow:


<?php

$this->breadcrumbs=array(

    'helloWorldAjax',

);

?>

But I am getting the same error. What could be the problem?

Make sure HelloWorldAjaxController extends Controller