Questions tagged [ext-direct]

40 questions
1
vote
2 answers

Catch exceptions in ASP.NET resulting from Generic Handler (ashx) file

I am trying to get a different server side stack functioning with my ASP.NET site. My ashx file seems to be throwing a 500 Internal Server Error. How do I figure out what exception this ashx file is throwing or the reason the 500 is being thrown? …
JustBeingHelpful
  • 18,332
  • 38
  • 160
  • 245
1
vote
1 answer

Ext.Direct File Upload - Callback - Error "Blocked a frame with origin"

I am trying to do a form submit, which uploads a file that I read from and then I attempt to send back the data read from the file through the callback. However, I receive the error "{success:false,message:"Blocked a frame with origin…
Alpenglow
  • 173
  • 1
  • 17
1
vote
1 answer

.NET keyword "checked" conflicts with ExtJS MVC model Ext.tree.Panel "checked" field

I'm using Sencha ExtJS 4 framework, and ExtDirect4DotNet server-side stack with ASP.NET. I ran into an issue with the Sencha ExtJS MVC model functionality. There is a standard field in the Ext.tree.Panel component, called "checked". This is also a…
JustBeingHelpful
  • 18,332
  • 38
  • 160
  • 245
1
vote
1 answer

Synchronously loading 'MyApp.store.TreeStructures'; consider adding Ext.require('MyApp.store.TreeStructures') above Ext.onReady

Below, you will see that I'm getting a JavaScript exception with an MVC view I created in an Sencha ExtJS MVC application. I have another MVC view that extends 'Ext.tree.Panel' that reads a simple JSON object instead of pulling the data via an…
JustBeingHelpful
  • 18,332
  • 38
  • 160
  • 245
1
vote
1 answer

Ext.grid.Panel in Ext 4 not loading data from Ext.Direct proxy store

I've eliminated all exceptions from this code. However, the data from my proxy isn't rendering in my Ext.grid.Panel widget. Below you will find the different components of the page as it renders. I did not include the server-side stack code for…
JustBeingHelpful
  • 18,332
  • 38
  • 160
  • 245
1
vote
0 answers

Mocking data for extjs Direct calls

I build my ExtJs app using ExtDirect call (stores, forms or any action). The problem is that in order to code well you need your direct calls functional, which is hard to do it fast. Is there any way in having "direct calls" mocked up? In this way…
catalinux
  • 1,462
  • 14
  • 26
1
vote
1 answer

use Access-Control-Allow-Origin with Ext.direct and JAVA

I am creating a web application using Ext Js and java for connecting them I am using extdirect spring MVC, but as I want to access my java controller methods from Ext Js from different domain I have the following error OPTIONS…
Zura Sekhniashvili
  • 1,147
  • 7
  • 19
1
vote
1 answer

ReferenceError: ExtRemote is not defined Ext.direct.Manager.addProvider(ExtRemote.REMOTING_API);

js, and willing to learn using extdirect I followed the documentation included in the node-module and this page: npmjs.org/package/extdirect, that are exactly the same thing, when I point firefox to the index.html I got this error at my app.js line…
arpho
  • 1,576
  • 10
  • 37
  • 57
1
vote
0 answers

Escape square brackets in ExtJS template markup (XTemplate)?

I'm using ExtJS 4 and have a need to use sets of square brackets within XTemplate markup. This need arises from the fact that I require the square brackets to be preserved in the rendered output. More specifically, I'm dealing with object properties…
Ben Johnson
  • 2,507
  • 3
  • 29
  • 29
1
vote
0 answers

What is your Ext.Direct data caching strategy?

I am start using Ext.Direct alot recently, however I seem not clear how to integrate cache strategy with directFn request? eg: return 304 when data not change etc
c.sokun
  • 1,622
  • 4
  • 25
  • 40
0
votes
1 answer

extdirectspring methods not working

I set up ext direct for my Spring MVC app using extdirectspring. I am able to retrieve primitives and Strings and use them in ext.js. When I try to retrieve a list of objects, I am getting "undefined" on the javascript side. Is there anything…
Arun V
  • 590
  • 6
  • 20
0
votes
1 answer

Ext.Direct functions available within javascript

I have implemented Ext.Direct to return data to a Store however the directFn methods are not available within the javascript. api.php returns var Ext = Ext || {}; Ext.REMOTING_API =…
Eddie
  • 1
  • 1
0
votes
0 answers

Render column in grid using asynchronous function call

I'm trying to implement a custom renderer which manages two fields from a grid - for the first field a simple string is returned, and for the second I query the database: ... columns: [{ dataIndex: 'id', width: 50, …
Hello Lili
  • 1,527
  • 1
  • 25
  • 50
0
votes
1 answer

Disable ExtJs requests aggregation

When I use ExtJs & ExtDirect I see in debug that requests to server which are close in time, are aggregated into one request which is then split in the server. As this is probably very good for performance, it makes it difficult for debugging. Can I…
user1028741
  • 2,745
  • 6
  • 34
  • 68
0
votes
3 answers

ExtJS Direct--pass scope to method

I'm using the ExtJS Direct proxy and need to know how to pass scope when calling a method. Currently im doing this myapp.direct.action.mygridservice.getGridData("123",this.getSearchCbo().getValue(), function(p_,resp_){ //do something …
stackato
  • 1,085
  • 1
  • 19
  • 38