Hi Tim, <br><br>That's my thread there and I'm sad to hear you haven't had success so far. In my case I was using GeoServer + GeoWebCache + GeoExt/Ext JS<br><br>What I did was use the URL for the icons as if the layer had come directly from the WMS and not the cache.<br>
<br><pre><a href="http://localhost:8080/geoserver/wms?TRANSPARENT=true&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&EXCEPTIONS=application%2Fvnd.ogc.se_xml&FORMAT=image%2Fgif&LAYER=%22"><span style="color: rgb(255, 0, 0);">http://localhost:8080/geoserver/wms</span>?TRANSPARENT=true&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&EXCEPTIONS=application%2Fvnd.ogc.se_xml&FORMAT=image%2Fgif&LAYER="</a><font size="2"><font face="arial,helvetica,sans-serif"><br>
</font></font></pre><br>If you look at the part of the link I highlighted in red that's the link to my WMS, not my cache. <br><br>The only other thing I can think of is proxy issues? I think I had to add GWC to the proxy admin list of GeoServer so that requests could be allowed. If GeoServer is what your using and do not have the proxy extension installed, look here:<br>
<br><a href="http://geoserver.org/display/GEOS/GeoServer+Proxy+Extension">http://geoserver.org/display/GEOS/GeoServer+Proxy+Extension</a><br><br>I really hope this helps you. It's a little hard for me to remember because I ended up getting rid of the legend panel and changed my trees to have the icons of my map layers, one could now say my tree is also a legend :D<br>
<br>Happy Mapping,<br><br>elshae<br><br><br><br><div class="gmail_quote">On Fri, Feb 4, 2011 at 1:28 AM, geographika <span dir="ltr"><<a href="mailto:geographika@gmail.com">geographika@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div text="#000000" bgcolor="#ffffff">
Hi Tim,<br>
<br>
I had the same issue. In the end I created a wrapper script that
would generate tiles for any WMS formatted request, or return a
legend file (currently not cached but I hope to add that). <br>
Python script at<a href="https://bitbucket.org/geographika/mapserver-scripts/src/tip/tilecache/tilecache.py" target="_blank">
https://bitbucket.org/geographika/mapserver-scripts/src/tip/tilecache/tilecache.py</a>
and blog post at <a href="http://geographika.co.uk/using-tilecache-on-iis" target="_blank">http://geographika.co.uk/using-tilecache-on-iis</a><br>
<br>
Regards,<br>
<br>
Seth<div><div></div><div class="h5"><br>
<br>
On 04/02/2011 03:52, Tim Heuer wrote:
</div></div><blockquote type="cite"><div><div></div><div class="h5">
<div>
<p class="MsoNormal">Hi,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><a href="http://www.geoext.org/pipermail/users/2010-November/001563.html" target="_blank">http://www.geoext.org/pipermail/users/2010-November/001563.html</a>
</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Looking at the above did not solve the
problem for us. Is there a way one can give a different
GetLegendGraphic WMS request to GeoExt if for example one is
using tilecache to cache the layers’ image outputs?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Any help would be appreciated.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks,</p>
<p class="MsoNormal">Tim</p>
</div>
<br>
<hr>
<font color="Green" face="Arial" size="1">Please consider the
environment before printing this email<br>
Warning: This electronic message together with any attachments
is confidential. If you receive it in error: (i) you must not
read, use, disclose, copy or retain it; (ii) please contact the
sender immediately by reply email and then delete the emails.<br>
The views expressed in this email may not be those of Landcare
Research New Zealand Limited. <a href="http://www.landcareresearch.co.nz" target="_blank">http://www.landcareresearch.co.nz</a><br>
</font>
</div></div><pre><fieldset></fieldset>
_______________________________________________
Users mailing list
<a href="mailto:Users@geoext.org" target="_blank">Users@geoext.org</a>
<a href="http://www.geoext.org/cgi-bin/mailman/listinfo/users" target="_blank">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@geoext.org">Users@geoext.org</a><br>
<a href="http://www.geoext.org/cgi-bin/mailman/listinfo/users" target="_blank">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br>