-
13 Jul 2007 10:33 AM #1
[1.1RC1] JsonStore's proxy config - doc bug or source bug?
[1.1RC1] JsonStore's proxy config - doc bug or source bug?
the current docs for JsonStore's proxy config method says
but the source code saysCode:proxy : Ext.data.DataProxy The Proxy object which provides access to a data object.
are the docs wrong or is the source wrong?Code:Ext.data.JsonStore = function(c){ Ext.data.JsonStore.superclass.constructor.call(this, Ext.apply(c, { proxy: !c.data ? new Ext.data.HttpProxy({url: c.url}) : undefined, // <== this line replaces any configured proxy with a HttpProxy if there is no inline data, and wipes out the configured proxy otherwise reader: new Ext.data.JsonReader(c, c.fields) })); };
Sencha Docs / Ext 3.x - ( Docs | Examples )
Learning Center / Saki's Examples (for 2.x) / HOWTO - ( Report Bugs | Post Proper Code )
-
14 Jul 2007 8:12 AM #2
It's an inherited config that isn't valid in JsonStore.
-
19 Aug 2007 11:27 AM #3
Moved to its own thread because it is related to 1.1 and not to 1.1RC1:
http://extjs.com/forum/showthread.php?p=56218#post56218Last edited by Wolfgang; 21 Aug 2007 at 3:29 AM. Reason: Moved to its own thread because it is related to 1.1 and not to 1.1RC1:


Reply With Quote