Hello.  I'm going through this tutorial using my local GeoServer installation.  
I am using GeoExt 1.0, OpenLayers 2.10, and ext.js 3.2.1.
http://workshops.opengeo.org/geoext/wfs/layer.html

Code looks like this thusfar: http://pastie.org/1506095  It's the same as the 
example, with modifications to retrieve local data.

Everything works as expected until I attempt to add 'sm: new 
GeoExt.grid.FeatureSelectionModel()' to my GridPanel.

When I do that, I receive the error: "layer.map is null", in reference to 
"layer.map.addControl(selectControl)" on line 153 of FeatureSelectionModel.js.  
If I remove this code, the map & grid render correctly.

This seems similar to the problem reported in https://geoext.org/ticket/396, 
but I am wondering if there is some other explanation.  I've tried explicitly 
setting the layer's map property ("layer.map = mapPanel.map").  This removes 
the error I cited above, but raises new ones, and I suspect this isn't the 
correct way to solve the problem.

thanks,
alex
_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to