Monty, Maybe your problem is more related to the query sent to GeoServer. I don't know anything about it, so I can't really help, but testing a request outside OL seems to return an empty <body>... See the source of :
http://www.ddond.com:8080/geoserver/wms?HEIGHT=582&WIDTH=800&LAYERS=sf%3Acommunes&STYLES=&SRS=EPSG%3A4326&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&EXCEPTIONS=application%2Fvnd.ogc.se_xml&BBOX=-2.013916%2C43.052253%2C-0.936131%2C43.836342&X=388&Y=368&INFO_FORMAT=text%2Fhtml&QUERY_LAYERS=sf%3Acommunes&FEATURE_COUNT=50 Don't know if that can help, Best of luck, Alexandre Monty wrote: > Alexandre, I don't really know... I´m using version 2.8. So, when > testing my geoserver, I can use this url : Here > <http://www.ddond.com:8080/geoserver/wms?bbox=-1.8199148654937751,43.17675437927251,-1.130132150650025,43.71184120178219&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=sf:communes&width=800&height=582&srs=EPSG:4326> > > ... I can read data from database. So, I can't read these values with > html pages placed outside the port :8080 I think is (may be) a > misconfiguration from my system, so I'm really stopped : I don't know > how can I do to solve this... Any help would be great for me. Merci, > Monty > > Alexandre Dube wrote: > Hi Monty, What is the OpenLayers version you are using ? Could > your problem be related to the following ticket ? If so, it's > fixed in trunk so either try the trunk version or apply the patch > in the ticket : http://trac.openlayers.org/ticket/2201 Regards, > Alexandre Monty wrote: > Somebody has the same problem ? > > > Thanks, > > Carlos > > > Monty wrote: > >> Hi all, >> >> I'm > trying to create a popup for my openlayers map using : >> >> > eventListeners: >> { getfeatureinfo: function(event) >> > {map.addPopup( >> new OpenLayers.Popup. >> FramedCloud( >> > "chicken", >> map.getLonLatFromPixel(event.xy), >> null, >> > event.text, >> null, >> true >> )); >> } >> } >> }); >> >> So, the > result for clicking objects in the map is allways "parameter >> > FORMAT is required" >> >> You can test it at > "http://www.ddond.com/GeoBidasoa/Bidasoa.html >> >> Any ideas ? >> > >> Thanks for your help, >> >> Carlos >> >> >> > > -- Alexandre > Dubé Mapgears www.mapgears.com > _______________________________________________ Users mailing list > [email protected] http://openlayers.org/mailman/listinfo/users > > > ------------------------------------------------------------------------ > View this message in context: Re: getFeatureInfo & event.text > <http://n2.nabble.com/getFeatureInfo-event-text-tp3792949p3795346.html> > Sent from the OpenLayers Users mailing list archive > <http://n2.nabble.com/OpenLayers-Users-f1822463.html> at Nabble.com. > ------------------------------------------------------------------------ > > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > -- Alexandre Dubé Mapgears www.mapgears.com _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
