<div>Here is how I call my LayerManager</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&lt;cwc2 type=&quot;LayerManager&quot; styleresource=&quot;TextButtons&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp; Visible=&quot;true&quot; <br>&nbsp;&nbsp;Image=&quot;./images/icon_open.png&quot; <br>&nbsp;&nbsp;ImageTip=&quot;layermanager&quot; <br>&nbsp;&nbsp;&nbsp; popupwidth=&quot;700&quot;
<br>&nbsp;&nbsp;&nbsp; popupheight=&quot;500&quot;<br>&nbsp;&nbsp;LABEL=&quot;layermanager&quot;&nbsp; &gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;image state=&quot;normal&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;image state=&quot;selected&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;image state=&quot;hover&quot;/&gt;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/cwc2&gt;</div>
<div>&nbsp;</div>
<div>When trying to use LayerManager to change to change to any other active layer, I get the following errors.</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div><strong>Warning</strong>: [MapServer Error]: loadOutputFormat(): Parsing error near (;):(line 15) in <b>C:\ms4w\apps\chameleon\htdocs\common\wrapper\map_session.php</b> on line <b>215</b><br><br><b>Warning</b>: Failed to open map file /ms4w/tmp/sess_431eed579b74c/1126100988-
1582.map in <b>C:\ms4w\apps\chameleon\htdocs\common\wrapper\map_session.php</b> on line <b>215</b><br><br><b>Fatal error</b>: Call to a member function on a non-object in <b>C:\ms4w\apps\chameleon\htdocs\widgets\LegendTemplateLM\LegendTemplateLM.widget.php
</b> on line <b>81</b></div>
<div><strong></strong>&nbsp;</div>
<div><strong></strong>&nbsp;</div>
<div><strong>Thanks,</strong></div>
<div><strong></strong>&nbsp;</div>
<div><strong>Matt</strong></div>
<div><br><br>&nbsp;</div>
<div><span class="gmail_quote">On 9/6/05, <b class="gmail_sendername">Paul Spencer</b> &lt;<a href="mailto:pspencer@dmsolutions.ca">pspencer@dmsolutions.ca</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">It *should* be possible but I have never actually tried it.&nbsp;&nbsp;Can you<br>provide more details on the error message?
<br><br>Paul<br><br>Matthew Edmondson wrote:<br>&gt; I'm using the XMLThemeLegend widget for my main legend on my map. I<br>&gt; added a second popup html legend but when I try to set a layer as the<br>&gt; active layer for expresionbuilder, etc., I just get an error.
<br>&gt;<br>&gt; Is there a way to define a wms/wfs as the active layer (again, for<br>&gt; expressionbuilder, etc.) while using a XMLThemeLegend.<br>&gt;<br>&gt; Thanks,<br>&gt;<br>&gt; Matt<br>&gt;<br>&gt;<br>&gt; ------------------------------------------------------------------------
<br>&gt;<br>&gt; _______________________________________________<br>&gt; Chameleon mailing list<br>&gt; <a href="mailto:Chameleon@lists.maptools.org">Chameleon@lists.maptools.org</a><br>&gt; <a href="http://lists.maptools.org/mailman/listinfo/chameleon">
http://lists.maptools.org/mailman/listinfo/chameleon</a><br><br>--<br>+-----------------------------------------------------------------+<br>|Paul Spencer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:pspencer@dmsolutions.ca">
pspencer@dmsolutions.ca</a>&nbsp;&nbsp; |<br>+-----------------------------------------------------------------+<br>|Applications &amp; Software Development&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|<br>|DM Solutions Group Inc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<a href="http://www.dmsolutions.ca/|">http://www.dmsolutions.ca/|</a><br>+-----------------------------------------------------------------+<br></blockquote></div><br>