-
11 Nov 2010 10:39 AM #261
assertValue() method is private (i.e. not documented), but it doesn't mean you can't call it

Using api config you can load you form like this:
Code:contactForm.load({ success: function(form, action) { var states = action.result.states; var stateCombo = form.findField('state'); stateCombo.getStore().loadData(states); stateCombo.assertValue(); } });Eugene
Ext.Direct for ASP.NET MVC
-
12 Nov 2010 1:38 AM #262
-
16 Nov 2010 10:09 AM #263
Is there any reason why I should not be able to use Ext.Direct.Mvc with Sencha Touch? I have configured everything properly as far as I know, and the Api file is create and viewable in Chrome debugger, but default page is failing with the message "Cannot call method 'addProvider' of undefined"...which really means this could be failing anywhere. I have added the call to "Ext.Direct.addProvider(Ext.app.REMOTING_API); " in the launch method of my main app page.
I just want to make sure that it's possible to use Ext.Direct.Mvc with Touch and that there is not something obvious that I am missing here.
Also, not sure if this is an Mvc question or Touch question so starting here.
Thanks
-
16 Nov 2010 10:34 AM #264
There is no support for Ext.Direct in Sencha Touch yet.
Eugene
Ext.Direct for ASP.NET MVC
-
16 Nov 2010 10:37 AM #265
Well that would explain that
Thanks for quick reply Eugene. And of course my next annoying question for you is...."are you planning to build in support for this in the future, and any idea when?" 
Thanks again!
-
16 Nov 2010 12:41 PM #266
Perhaps I wasn't clear. It's not that my library doesn't support Sencha Touch. What I meant is Sencha Touch framework doesn't have a codebase for Ext.Direct yet. AFAIK they will add in one of the next major releases.
Eugene
Ext.Direct for ASP.NET MVC
-
16 Nov 2010 12:45 PM #267
Yes, I understand that now as I sort of cross posted and found that out
No worries, sounds like it's coming in 4.0, and Touch will have it then. Then I guess it depends on when you will update your implementation to support 4.0...due out 1st Q 2011.
-
16 Nov 2010 12:49 PM #268
I am at the conference right now and haven't heard anything about any changes in Ext.Direct package in version 4.0. So Direct API will probably remain the same as in 3.0 which will make my implementation work as it is.
Eugene
Ext.Direct for ASP.NET MVC
-
16 Nov 2010 12:51 PM #269
That would be sweet. I'm jealous regarding the conference

-
16 Nov 2010 12:56 PM #270Eugene
Ext.Direct for ASP.NET MVC


Reply With Quote