I got the GeoExt QueryPanel working so far, it recognizes the layers available on my Geoserver but it is not able to get the attribute columns for the dataset. I configured an osgeo proxy on my Apache Server, I use the override-ext-ajax.js and have the OpenLayers.ProxyHost = "/cgi-bin/proxy.cgi?url="; class configured.

A DescribeFeatureType request is sent when selecting the layer I want to filter. The same happens when trying to choose the attribute column in the query panel, but there are none displayed.

Does anybody have a clue what´s going wrong here and why the request URL is wrong? The strange thing is that even if I remove the Open.Layers.ProxyHost class and the override-ext-ajax.js from my application, the request is sent that way. This leads to the conclusion, that the source of error can be found in the QueryPanel.js file, yet I couldn´t spot it.
Can it, on the other hand be related to my server? Other requests sent in the application (GET & POST) work fine. The (relevant) code looks like this, maybe you guys can spot the error...

It was indeed line 182 that created the wrong URL. When using firebug, I can temporarily change the URLs and make the queries work. Replacing line 182 with url: Ext.urlAppend("http://localhost/geoserver/wfs", Ext.urlEncode({, I can access the attribute names but queries are still sent via the proxy URL. Is there a way to change the URLs created by the QueryPanel.js permanently? If not, is there another way of fixing this problem?
–
philippeOct 4 '11 at 16:18

I figured the problem - think it was a setting that I made when having difficulties configuring a WFS. In GeoServer Globale settings, I set the Proxy Base URL to http://localhost/cgi-bin/proxy.cgi?url=