<div>Thank you very much for your answer.<br><br>i've made some test but i've always the same problem. I cannot see Attributes in Maptips. <br><br>This is my layer<br><br>LAYER<br>&nbsp; NAME &quot;scuole&quot;<br>&nbsp; METADATA<br>
&nbsp;&nbsp;&nbsp; wms_title &quot;scuole&quot;<br>&nbsp;&nbsp;&nbsp; wfs_title &quot;scuole&quot;</div><div><span class="q">&nbsp;&nbsp;&nbsp; gml_include_items &quot;all&quot;<br>&nbsp; END<br>&nbsp; STATUS ON<br>&nbsp; DUMP TRUE
<br>&nbsp; TYPE POLYGON<br>&nbsp; CONNECTIONTYPE POSTGIS<br></span></div><div>CONNECTION &quot;user=postgres password=**** dbname=NEW host=localhost port=5432&quot;<br>DATA
&quot;the_geom FROM (select comune, I02_97 as Elementari_Classi, I03_97 as
Medie_Classi, I04_98 as Superiori_classi, the_geom, gid from scuole) AS
scuole USING UNIQUE gid USING SRID=-1&quot;
<br>&nbsp; PROJECTION &quot;init=epsg:26591&quot;<br>&nbsp; END <br>LABELITEM comune <br>&nbsp;CLASS<br>&nbsp;&nbsp;&nbsp; NAME &quot;comune&quot;<br>&nbsp;&nbsp; TEMPLATE &quot;ttt_query.html&quot; <br>&nbsp;&nbsp; OUTLINECOLOR 0 0 0<br>&nbsp; END<br>&nbsp;&nbsp; END<br>END<br><br>this as widget definition:
<br><br>&lt;cwc2 type=&quot;MapTips&quot; visible=&quot;true&quot; layer=&quot;scuole&quot; <br>attributes=&quot;comune&quot; defaulttext=&quot;&amp;nbsp;&quot; tolerance=&quot;2&quot; </div><div><span class="q">maptipsdiv=&quot;ttt&quot; label=&quot;Map Tips&quot; styleresource=&quot;NavButtons&quot; 
<br>popupstyleresource=&quot;NavButtons&quot; popupwidth=&quot;550&quot; popupheight=&quot;475&quot; <br>image=&quot;images/icon_maptips.png&quot; toolbar=&quot;false&quot; status=&quot;false&quot; <br>menubar=&quot;false&quot; onmouseover=&quot;myMaptipsOver&quot; onmouseout=&quot;myMaptipsOut&quot;&gt;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;image state=&quot;normal&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;image state=&quot;selected&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;image state=&quot;hover&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/cwc2&gt;<br><br></span></div>
<div>this ..</div><div><div class="ea"><span id="e_10b86f1a92c75d3f_5">- Nascondi testo tra virgolette -</span></div><span class="q" id="q_10b86f1a92c75d3f_5"><br>&lt;!-- MAPTIPS --&gt;
<br> &nbsp; &nbsp; &nbsp;&lt;script type=&quot;text/javascript&quot;&gt;<br> &nbsp; &nbsp; &nbsp;var IE = document.all?true:false<br><br> &nbsp; &nbsp; &nbsp;var mouseX = 0;<br> &nbsp; &nbsp; &nbsp;var mouseY = 0;<br><br> &nbsp; &nbsp; &nbsp;function getMouseXY(e)<br> &nbsp; &nbsp; &nbsp;{<br> &nbsp; &nbsp; &nbsp; &nbsp;if (IE)<br>

 &nbsp; &nbsp; &nbsp; &nbsp;{<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;mouseX = event.clientX + document.body.scrollLeft;<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;mouseY = event.clientY + document.body.scrollTop;<br> &nbsp; &nbsp; &nbsp; &nbsp;}<br> &nbsp; &nbsp; &nbsp; &nbsp;else<br> &nbsp; &nbsp; &nbsp; &nbsp;{<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;mouseX = e.pageX;<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;mouseY = 
e.pageY;<br> &nbsp; &nbsp; &nbsp; &nbsp;}<br> &nbsp; &nbsp; &nbsp; &nbsp;if (mouseX &lt; 0){mouseX = 0;}<br> &nbsp; &nbsp; &nbsp; &nbsp;if (mouseY &lt; 0){mouseY = 0;}<br> &nbsp; &nbsp; &nbsp; &nbsp;return true;<br> &nbsp; &nbsp; &nbsp;}<br><br> &nbsp; &nbsp; &nbsp;function myMaptipsOver(e, att_values, att_names)<br> &nbsp; &nbsp; &nbsp;{<br> &nbsp; &nbsp; &nbsp; &nbsp;getMouseXY(e);
<br><br> &nbsp; &nbsp; &nbsp; &nbsp;// position the map tip<br> &nbsp; &nbsp; &nbsp; &nbsp;CWCDHTML_SetLayerZOrder( 'resultTips', 999 );<br> &nbsp; &nbsp; &nbsp; &nbsp;CWCDHTML_SetLayerPos('resultTi</span></div><div><div class="ea"><span id="e_10b86f1a92c75d3f_7">- Nascondi testo tra virgolette -
</span></div><span class="q" id="q_10b86f1a92c75d3f_7">ps', (mouseX + 10), (mouseY + 10));<br><br> &nbsp; &nbsp; &nbsp; &nbsp;// set the contents
<br> &nbsp; &nbsp; &nbsp; &nbsp;CWCDHTML_ShowContents( 'resultTips',<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'&lt;div style=&quot;border: 1px solid #cccccc;<br>background-color: #eeeeee; padding: 1px;&quot;&gt;'+<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'&lt;p class=&quot;maptips&quot;&gt;'+
<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;att_names[0] + ': ' + att_values[0] + '&lt;br&gt;' +<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;att_names[1] + ': ' + att_values[1] + '&lt;br&gt;' +<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;att_names[2] + ': ' + att_values[2] +
<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'&lt;/p&gt;'+<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'&lt;/div&gt;');<br><br> &nbsp; &nbsp; &nbsp; &nbsp;// show the tip<br> &nbsp; &nbsp; &nbsp; &nbsp;CWCDHTML_ShowLayer( 'resultTips' );<br> &nbsp; &nbsp; &nbsp;}<br><br> &nbsp; &nbsp; &nbsp;function myMaptipsOut(e, att_values, att_names)
<br> &nbsp; &nbsp; &nbsp;{<br> &nbsp; &nbsp; &nbsp; &nbsp;CWCDHTML_HideLayer( 'resultTips' );<br> &nbsp; &nbsp; &nbsp;}<br> &nbsp; &nbsp; &nbsp;&lt;/script&gt;<br><br></span></div><div>and this in html template<br></div><span class="q">&nbsp;&lt;div id=&quot;resultTips&quot;<br>style=&quot;position:absolute
<div style="direction: ltr;">;visibility:hidden;&quot;&gt;&lt;/div&gt;
<br> &nbsp; &nbsp; &nbsp;&lt;cwc2 type=&quot;KeepSessionAlive&quot; TIMEOUT=&quot;1000&quot; /&gt;<br> &nbsp; &nbsp; &nbsp;&lt;cwc2 type=&quot;SessionExpired&quot; text=&quot;Uw sessie is verlopen, ververs<br>de pagina&quot; /&gt;</div></span>