PDA

View Full Version : Cahngeing the url of a json p proxy



cain@spiral.co.nz
10 May 2012, 9:43 PM
I have button in a form which is supposed to get a search string (SearchSt) and use it to modify the URL for a json p proxy
Stor.load() works
Stor.getProxy() doesnt throw an error but doesn't seem to load the right proxy either



var Stor = Ext.StoreManager.get('ArchitectsJsonPStore');
var Prox = Stor.getProxy();
Prox.url='http://nzrabwcfservice.nzrab.org.nz/ShipperService.svc/json/?s=' + SearchSt;
Stor.load();

cain@spiral.co.nz
13 May 2012, 3:21 PM
Anyone?
Please Help