<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> NAME "scuole"<br> METADATA<br>
wms_title "scuole"<br> wfs_title "scuole"</div><div><span class="q"> gml_include_items "all"<br> END<br> STATUS ON<br> DUMP TRUE
<br> TYPE POLYGON<br> CONNECTIONTYPE POSTGIS<br></span></div><div>CONNECTION "user=postgres password=**** dbname=NEW host=localhost port=5432"<br>DATA
"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"
<br> PROJECTION "init=epsg:26591"<br> END <br>LABELITEM comune <br> CLASS<br> NAME "comune"<br> TEMPLATE "ttt_query.html" <br> OUTLINECOLOR 0 0 0<br> END<br> END<br>END<br><br>this as widget definition:
<br><br><cwc2 type="MapTips" visible="true" layer="scuole" <br>attributes="comune" defaulttext="&nbsp;" tolerance="2" </div><div><span class="q">maptipsdiv="ttt" label="Map Tips" styleresource="NavButtons"
<br>popupstyleresource="NavButtons" popupwidth="550" popupheight="475" <br>image="images/icon_maptips.png" toolbar="false" status="false" <br>menubar="false" onmouseover="myMaptipsOver" onmouseout="myMaptipsOut">
<br> <image state="normal"/><br> <image state="selected"/><br> <image state="hover"/><br> </cwc2><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><!-- MAPTIPS -->
<br> <script type="text/javascript"><br> var IE = document.all?true:false<br><br> var mouseX = 0;<br> var mouseY = 0;<br><br> function getMouseXY(e)<br> {<br> if (IE)<br>
{<br> mouseX = event.clientX + document.body.scrollLeft;<br> mouseY = event.clientY + document.body.scrollTop;<br> }<br> else<br> {<br> mouseX = e.pageX;<br> mouseY =
e.pageY;<br> }<br> if (mouseX < 0){mouseX = 0;}<br> if (mouseY < 0){mouseY = 0;}<br> return true;<br> }<br><br> function myMaptipsOver(e, att_values, att_names)<br> {<br> getMouseXY(e);
<br><br> // position the map tip<br> CWCDHTML_SetLayerZOrder( 'resultTips', 999 );<br> 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> // set the contents
<br> CWCDHTML_ShowContents( 'resultTips',<br> '<div style="border: 1px solid #cccccc;<br>background-color: #eeeeee; padding: 1px;">'+<br> '<p class="maptips">'+
<br> att_names[0] + ': ' + att_values[0] + '<br>' +<br> att_names[1] + ': ' + att_values[1] + '<br>' +<br> att_names[2] + ': ' + att_values[2] +
<br> '</p>'+<br> '</div>');<br><br> // show the tip<br> CWCDHTML_ShowLayer( 'resultTips' );<br> }<br><br> function myMaptipsOut(e, att_values, att_names)
<br> {<br> CWCDHTML_HideLayer( 'resultTips' );<br> }<br> </script><br><br></span></div><div>and this in html template<br></div><span class="q"> <div id="resultTips"<br>style="position:absolute
<div style="direction: ltr;">;visibility:hidden;"></div>
<br> <cwc2 type="KeepSessionAlive" TIMEOUT="1000" /><br> <cwc2 type="SessionExpired" text="Uw sessie is verlopen, ververs<br>de pagina" /></div></span>