On Wed, Nov 19, 2008 at 12:06:21PM -0800, polock wrote: > > Again and again I receive the error message from the firebug: > An attempt was made to create or change an object in a way which is > incorrect with regard to namespaces" code: "14 > > var wfsl= new OpenLayers.Layer.WFS( "MY WFS", > > "http://localhost/geoserver/wfs?", > {typename: 'topp:mywfs'}, > { typename: > 'topp:mywfs' }); > wfsl.addFeatures([feature]); > wfsl.commit(); > > Wherein am I mistaken?
Typename in the options hash (the second one) should just be 'mywfs', not 'topp:mywfs', I believe. Regards, -- Christopher Schmidt MetaCarta _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
