PDA

View Full Version : Loading Multiple Stores then rending a form



bsmithinghamisd
15 Dec 2011, 12:15 PM
I have multiple data stores on a form page that need to load before form is rendered.

1 XML Store contains the form data
2 XML Store contains information for a drop down field2.

I'm going to guess that both of the drop down XML stores need to load prior to the XML data store is loaded and rendered on the form.

What is happening is sometimes the form renders and the correct drop down is not selected. However if I do a refresh, it will reload the data.

Any ideas?

arthurakay
15 Dec 2011, 2:07 PM
I don't have a specific answer for you, but generally speaking it sounds like you need to run some logic inside one of the stores' "load" event.

bsmithinghamisd
16 Dec 2011, 5:05 AM
I think I figured it out. I used a manual load instead of an autoload.