ZF-3916: dojo->requireModule regards dash as invalid character

Issue Type: Bug Created: 2008-08-10T04:22:12.000+0000 Last Updated: 2008-09-09T12:35:46.000+0000 Status: Resolved Fix version(s): - 1.6.1 (15/Sep/08)

Reporter: Bernd Matzner (bmatzner) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Dojo

Related issues: Attachments:




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.


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().

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.