TInvalidOperationException

Description

Component property 'NavigationBar.nav1' is not defined.

Source File

/data/www/allbran.fr/www/classes/prado/TComponent.php (114)

0103:         }
0104:         else if(strncasecmp($name,'on',2)===0 && method_exists($this,$name))
0105:         {
0106:             // getting an event (handler list)
0107:             $name=strtolower($name);
0108:             if(!isset($this->_e[$name]))
0109:                 $this->_e[$name]=new TList;
0110:             return $this->_e[$name];
0111:         }
0112:         else
0113:         {
0114: throw new TInvalidOperationException('component_property_undefined',get_class($this),$name);
0115: } 0116: } 0117: 0118: /** 0119: * Sets value of a component property. 0120: * Do not call this method. This is a PHP magic method that we override 0121: * to allow using the following syntax to set a property or attach an event handler. 0122: * <code> 0123: * $this->PropertyName=$value; 0124: * $this->EventName=$handler; 0125: * </code> 0126: * @param string the property name or event name

Stack Trace

#0 /data/www/allbran.fr/www/classes/prado/Web/UI/TControl.php(196): TComponent->__get('nav1')
#1 /data/www/allbran.fr/www/site/protected/controls/NavigationBar.php(9): TControl->__get('nav1')
#2 /data/www/allbran.fr/www/site/protected/Pages/PersonalizedCouncils.php(5): NavigationBar->setMenuHilight('nav1')
#3 /data/www/allbran.fr/www/classes/prado/Web/UI/TControl.php(1197): PersonalizedCouncils->onLoad(NULL)
#4 /data/www/allbran.fr/www/classes/prado/Web/UI/TPage.php(190): TControl->loadRecursive()
#5 /data/www/allbran.fr/www/classes/prado/Web/UI/TPage.php(173): TPage->processNormalRequest(Object(THtmlWriter))
#6 /data/www/allbran.fr/www/classes/prado/Web/Services/TPageService.php(458): TPage->run(Object(THtmlWriter))
#7 /data/www/allbran.fr/www/classes/prado/TApplication.php(988): TPageService->run()
#8 /data/www/allbran.fr/www/classes/prado/TApplication.php(346): TApplication->runService()
#9 /data/www/allbran.fr/www/site/index.php(20): TApplication->run()
#10 {main}
2010-07-31 09:58 Apache PRADO/3.0.2