Can someone give me tip on how to setup dojo as an application resource.
My application.ini has the following:
resources.dojo.djConfig.isDebug = 1
resources.dojo.djConfig.parseOnLoad = 1
resources.dojo.localPath = "/js/pathtobuild/dojo.js"
Previously I had setup dojo in a separate View resource file, but I'd like
to take advantage of this new plugin in v1.10.0
My view file used the following:
Zend_Dojo::enableView($view);
$view->dojo()->setDjConfigOption('parseOnLoad', true)
->setLocalPath('/js/pathtobuild/dojo/dojo.js')
->setDjConfigOption('isDebug', ($config->debug ? true :
false))
->registerModulePath('custom',
'/js/pathtobuild/custom')
->requireModule('custom.main')
->enable();
Any help is appreciated.
--
=================
Ron Dyck
[email protected]
www.webbtech.net
=================