thanks for all the help, but i am not following you. I removed the Ext.application from my code as i could not get it to work. If i cut and paste my subclassed form into my top level Ext.onReady function, ext direct works. So i guess Ext.Direct does not support sub-classing?

I'm having this same problem, and trying to follow the example in the video. The code you show above for the controller is from the workshop code, and I can't see where the function getUserStore() is implemented. Where is this implemented, and what does it do?

My first problem is I don't know what to implement for getExamHistoryStore() since that part seems to be missing from the workshop, and my second problem is that it never even gets to my onLaunch function before I get a javascript error in the store that Workflow is undefined on this line:

Code:

directFn: Workflow.getExamsForUser,

If I remove that store, I can directly invoke Workflow.getExamsForUser and am getting back the results from PHP, so I know that ext.direct is working, I just can't figure out how to use in a store...

Thanks!

21 Jul 2011, 6:03 PM

marman

your issue looks a bit different. I created an issue in the Bug forum for the issue i am having...

I figured out the solution to my problem. The getter for the store in the workshop code is generated, but since my store is in a namespace I couldn't figure out what the generated getter would be. So I used this:

Code:

var store = this.getStore('workflow.ExamHistory');

instead of:

Code:

var store = this.getExamHistoryStore();

Worked like a charm! B)

10 Aug 2011, 3:53 AM

DavidSSL

For an ASP.NET MVC example download the code fromhttp://code.google.com/p/ext-direct-mvc/. Although it's a .NET example, I believe that the javascript files will be the same for other server side languages.

What I found worked for me was using ext-all.js as mentioned in previous answers

13 Aug 2011, 7:35 AM

twaindev

I'm using ASP.NET MVC with Ext.Direct.Mvc and this works for me using only ext(-debug).js: