ZF-3916: dojo->requireModule regards dash as invalid character
Description
$this->view->dojo()->requireModule('dojo.NodeList-fx');
causes
exception 'Zend_Dojo_View_Exception' with message 'Module name specified, "dojo.NodeList-fx", contains invalid characters'
The NodeList-fx module is, however, spelled that way, so we should be able to load it using requireModule.
Comments
Posted by Bernd Matzner (bmatzner) on 2008-09-05T11:10:44.000+0000
The same goes for grid editors. $this->view->dojo()->requireModule('dojox.grid._data.dijitEditors');
The Regexes in both the addStylesheetModule and requireModule methods in Zend_Dojo_View_Helper_Dojo_Container should take dashes and underscores into account.
Posted by Matthew Weier O'Phinney (matthew) on 2008-09-09T12:35:46.000+0000
fixed in trunk and 1.6 release branch; also added support for mixed chase in addStylesheetModule().