PDA

View Full Version : Cannot define api object for direct proxy in extjs project



predator
28 Feb 2012, 6:52 PM
Hello Team,

I am having hard time defining api obejct in direct proxy, the declaration is getting commented out.

I have tried to close the project and remove the quotes in the project source files in .metadata folder. But then when tried to open it designer throws and error about invalid json string.

Few things to mention:

Direct api is properly loaded and methods are actually available in directFn configuration.

I used to have same problem with the ext designer before and it was solved by hacking into the direct/api private method _print allowing it to supply json formatted string to ext designer, this trick does not work in sencha designer now.

It appears to me as bug.. if so please take a look at it, otherwise tell me what I might be doing wrong.

Regards

aconran
28 Feb 2012, 8:37 PM
We are internally tracking some issues regarding this related to DSGNR-689 and DSGNR-1393.