I've a problem with the legend of my application<br>I'm not able to enable/disable layers!<br><br>i've added this in my template...<br><cwc2 type="LegendTemplate" visible="true" embedded="true"
<br> template="legend_template.html" popupstyleresource="TextButtons"<br> popupheight="500" popupwidth="300"<br> status="true" menubar="true" controlvisibility="false"/>
<br><br>and this is the legend layer!<br>[leg_layer_html order=ascending opt_flag=15]<br> <tr bgcolor="#fcf8c9"><br> <td align="center" width=20><input type="checkbox" name="legendlayername[]"
<br>value="[leg_layer_name]"<br> [if name=layer_status oper=eq value=1]CHECKED[/if]<br> [if name=layer_status oper=eq value=2]CHECKED[/if]><br> <td><img src="farm.png" width="18" height="18" /></td>
<br> [if name=wms_name oper=isnull]<br> <td><a href="#" onclick="javascript:LegendTemplateLayerInfo('[leg_layer_name]');"><span class="label">[leg_layer_name]</a></td>
<br> </tr><br> [/if]<br> [if name=wms_name oper=isset]<br> <td><a href="#" onclick="javascript:LegendTemplateLayerInfo('[leg_layer_name]');"><span class="label">[metadata name=WMS_TITLE]</span></a></td>
<br> </tr><br> [/if]<br>[/leg_layer_html]<br><br><br>what is Wrong??<br><br>Thank you in advance <br>