Issues

ZF-6886: Cannot use dojox.data.QueryReadStore in a Zend_Dojo_Form_Element_FilteringSelect element when using Dojo with a CDN

Description

I'm using a Zend_Dojo_Form_Element_FilteringSelect with the following parameters :

$oElement->setStoreId('myStore'); $oElement->setStoreType('dojox.data.QueryReadStore');

and it ends up with the following javascript error:

dojox.data is undefined

at the following line :

var myStore = new dojox.data.QueryReadStore({"url":"/foo.php"});

if I execute this query in the console, it works fine so it looks like the form is instanciated too early, before the javascripts can be retrieved.

Works fine when using dojo locally and not via cdn.

Comments

No comments to display