[Users] ERROR: 'this.proxy' ist Null oder kein Objekt
Robert Buckley
robertdbuckley at yahoo.com
Thu Mar 24 12:35:10 CET 2011
hi,
Firefox and google don´t have a problem with my code, but IE7 is complaining
again.
IE. Error:
German: Fehler: 'this.proxy' ist Null oder kein Objekt
Eng: Error: 'this.proxy' is null or not an Object.
var store = new GeoExt.data.FeatureStore({
fields: [
{name: "bez", type: "string"},
{name: "standort", type: "string"},
{name: "typ", type: "string"},
{name: "betreiber", type: "string"}
],
// autoLoad: {params:{start: 0, limit: 500}},
layer: layer,
addFeatureFilter: function(feature){
return feature.state !== OpenLayers.State.DELETE;
}
});
It is the commented out line which causes the error. It refers to a paging
toolbar which is present in the grid. I read the ext.js and the code should be
ok, so why is it returning an error is my case?
here is the code for the paging toolbar.
var pagingToolbar = new Ext.PagingToolbar({
pageSize: 500,
store: store,
displayInfo: true,
displayMsg: 'Records {0} - {1} of {2}',
emptyMsg: "No Records to display",
items: ['->']
});
Any ideas?
thanks,
Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20110324/9f2b4fe6/attachment.htm
More information about the Users
mailing list