2009年3月18日星期三

[fw-mvc] parseOnLoad true: Error: Tried to register widget

Hi,
I must to use dijit.byId(x) command during onload of dojo.
I need to set parseOnLoad to true.
when I set:
$this->dojo()->setDjConfigOption('parseOnLoad', true);

I have (in firebug console: [Exception... "'Error: Tried to register widget
with id==admin_left_menu...)

admin_left_menu is the id of an accordion Container defined in the file
_adminMenuNav.phtml and
I put this file :
<?= $this->render('_adminMenuNav.phtml') ?>

How many times does parser register the widget accordion container?
There is a solution to avoid this error?

Thanks to all

--
View this message in context: http://www.nabble.com/parseOnLoad-true%3A-Error%3A-Tried-to-register-widget-tp22576782p22576782.html
Sent from the Zend MVC mailing list archive at Nabble.com.

没有评论: