Derek, have you put a breakpoint in the showInfo function to confirm it's being
called and see whats returned? The docs say the event is 'getfeatureinfo' (all
lowercase) so try that if the method is not being called. If that doesn't work,
then try put the event listener inline
click: new OpenLayers.Control.WMSGetFeatureInfo({
….
eventListeners: {
getfeatureinfo: function(evt) {
$('nodelist').innerHTML=evt.text;
}
}
}),
BTW, you mention Java a few times, but I think you mean javascript. There is a
big difference, just FYI :)
hth
charles
On Dec 8, 2010, at 12:37 PM, Derek Price wrote:
>
> Update: I've run the query coming out of the mapserver.log file, and not only
> is the click event properly executing, but the query does return results.
> The problem seems to be with displaying the query results. Are there any
> known hitches with the showInfo function, or a good way I could check when
> it fires at runtime?
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/Having-the-worst-time-with-a-simple-getFeatureInfo-request-tp5813330p5816059.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users