Different stores with different (so I thought) proxies WTF !?
Hey guys ..
Need a little explanation about proxies ...
I've got a form with components that call same URL through it's storage proxies.
The problem is with extra params ...
In some cases I have to set extra parameters to a proxy .. and ALL proxies now have that same parameters !!!
copy paste from debug window:
Code:
proxy from store 1:
constructor {type: "ajax", url: "http://fukec:8080/kliping-admin/rest/extEntities/searchEntities", extraParams: Object, reader: constructor, hasListeners: HasListeners…}
api: Object
events: Object
extraParams: Object
language: "en"
type: "5a0d42a3-da66-3452-a44a-e9b36100a44a"
__proto__: Object
hasListeners: HasListeners
model: function constructor() {
nocache: true
reader: constructor
type: "ajax"
url: "http://fukec:8080/kliping-admin/rest/extEntities/searchEntities"
writer: constructor
__proto__: TemplateClass
proxy from store 2:
constructor {type: "ajax", url: "http://fukec:8080/kliping-admin/rest/extEntities/searchEntities", extraParams: Object, reader: constructor, hasListeners: HasListeners…}
api: Object
events: Object
extraParams: Object
language: "en"
type: "5a0d42a3-da66-3452-a44a-e9b36100a44a"
__proto__: Object
hasListeners: HasListeners
model: function constructor() {
nocache: true
reader: constructor
type: "ajax"
url: "http://fukec:8080/kliping-admin/rest/extEntities/searchEntities"
writer: constructor
__proto__: TemplateClass
check the type extra parameter .. it's in both proxies ... and I only set it once on second proxy!
Any explanation and/or fix would be appreciated!
Regards
Armando