Yii Framework Forum: Property "HelloWorldAjaxController.breadcrumbs" is not defined. - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Property "HelloWorldAjaxController.breadcrumbs" is not defined. Rate Topic: -----

#1 User is offline   Nacesprin 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 70
  • Joined: 04-April 10
  • Location:San Fernando - Cadiz - Spain

Posted 04 April 2010 - 01:15 PM

Hola. Siguiendo este cookbook http://www.yiiframew...oc/cookbook/49/ obtengo el 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: ?>



Y entonces he añadido la propiedad breadcrumbs en el fichero /yii-web/protected/views/helloWorldAjax/index.php como sigue:

<?php
$this->breadcrumbs=array(
    'helloWorldAjax',
);
?>


Pero sigo teniendo el mismo error. ¿Sabeis a qué puede ser debido?

Gracias
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users