I am trying to follow the example on this page.
<http://framework.zend.com/manual/en/zend.dojo.view.html#zend.dojo.view.dojo>
It looks like the registerModulePath() expects 2 parameters, $module and
$path. But, the example only provides 1.
$this->dojo()->enable()
->setDjConfigOption('parseOnLoad', true)
->registerModulePath('../custom/') /* needs two parameters? */
->requireModule('dijit.form.FilteringSelect')
->requireModule('custom.PairedStore');
When I load the page, I get the following error:
*Warning*: Missing argument 2 for
Zend_Dojo_View_Helper_Dojo_Container::registerModulePath()
Slightly changing the question, what I've really been trying to find is the
most basic "Hello World" for Zend_Dojo. The example above is not exactly
the example I was looking for. I just picked it to work on. All I really
want to be able to do in my first Ajax app in ZF is to do an update in my
database. I don't want to return anything back to the view, yet. That's
coming. But, right now, I'd be happy if I could just do an update to the
database. Is this addressed somewhere in the documentation? If so, please
direct me to it.
Thanks
darren