[Chameleon] Problem with widget ClearQueryResults

Delfos, Jacob Jacob.Delfos at maunsell.com
Tue Jan 23 17:27:47 EST 2007


Hi Fermando,
 
As Dejan pointed out, the LocateByAttribute widget is not related to the other query tools. The query result is actually a layer called "Query_Result", which can be turned on/off using the legend. I haven't made a mechanism to turn the result off, other than by switching the layer off in the legend. You can remove the highlighting altogether by setting "highlight=false" in the widget definition.
 
regards,
 
Jacob
 
 


________________________________

	From: chameleon-bounces at lists.maptools.org [mailto:chameleon-bounces at lists.maptools.org] On Behalf Of Fernando Sánchez García
	Sent: 23 January 2007 21:09
	To: chameleon at lists.maptools.org
	Subject: [Chameleon] Problem with widget ClearQueryResults
	
	
	Greetings to all. It is the first time that I write to the forum. I am beginning to use Chameleon and I have a problem with widget ClearQueryResults. I use widget LocateByAttribute this way:
	 
	         <CWC2 type="LocateByAttribute" 
	            searchall="true" 
	            ZOOMBUFFER="500"
	            height="400" 
	            width="400" 
	            highlight="false" 
	            allowdownload="true" 
	            popup="true"
	            linktext="<img src='button_search_1.png'&#62"
	            visible="true"/>
	         </CWC2>
	
	Everything works well but when I want to use widget ClearQueryResults to eliminate the results  do not make any type of action.
	 
	    <CWC2 type="ClearQueryResults"
	        visible="true"
	        imagetip="Remove existing query results"
	        image="icons/icon_clear_query.png"
	        styleresource="NavButtons">
	              <image state="normal"/>
	              <image state="hover"/>
	              <image state="selected"/>
	          </CWC2 >
	
	 Can somebody help me? 

________________________________

	Acepta el reto MSN Premium: incluye Antivirus y Firewall de McAffee. Descárgalo y pruébalo 2 meses gratis. <http://g.msn.com/8HMBESES/2731??PS=47575>  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20070124/36380db5/attachment.html


More information about the Chameleon mailing list