Hi All,
I'm trying to create a form that has several FilteringSelect boxes attached
to one ItemFileReadStore. If I were to do this in Dojo/HTML I would create
the readStore like this:
<div dojoType = "dojoItemFileReadStore"
url = "path/to/method/in/my/model"
jsId = "myStoreId"
/>
and then attach it to the FilteringSelect boxes.
How do I do this with ZF. I tried creating the FilteringSelects all
referencing the same storeId. That seems to work after a fashion. If I look
at the DOM for the created form, there appears to be only one dataStore but
if I look at the console when the page is created, a call is sent to the
controller to create the dataStore everytime it is referenced. So if i have
5 filteringSelects, I create the same store 5 times. Is there a way in ZF to
create the store and then attach it to the filteringSelects?
Thanks for your help.
Barry
--
View this message in context:
http://www.nabble.com/Multiple-FilteringSelects-one-dataStore-tp21935281p21935281.html
Sent from the Zend Framework mailing list archive at Nabble.com.