<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3020" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=680292222-23012007><FONT face=Arial 
color=#0000ff size=2>Hi Fermando,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=680292222-23012007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=680292222-23012007><FONT face=Arial 
color=#0000ff size=2>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.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=680292222-23012007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=680292222-23012007><FONT face=Arial 
color=#0000ff size=2>regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=680292222-23012007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=680292222-23012007><FONT face=Arial 
color=#0000ff size=2>Jacob</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=680292222-23012007></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=680292222-23012007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV><BR>
<BLOCKQUOTE 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> chameleon-bounces@lists.maptools.org 
  [mailto:chameleon-bounces@lists.maptools.org] <B>On Behalf Of </B>Fernando 
  Sánchez García<BR><B>Sent:</B> 23 January 2007 21:09<BR><B>To:</B> 
  chameleon@lists.maptools.org<BR><B>Subject:</B> [Chameleon] Problem with 
  widget ClearQueryResults<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV>
  <DIV class=RTE>
  <DIV id=result_box dir=ltr>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:</DIV>
  <DIV dir=ltr>&nbsp;</DIV>
  <DIV dir=ltr>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;CWC2 
  type="LocateByAttribute" <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; searchall="true" 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  ZOOMBUFFER="500"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; height="400" <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; width="400" <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; highlight="false" 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  allowdownload="true" <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; popup="true"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; linktext="&lt;img 
  src='button_search_1.png'&amp;#62"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  visible="true"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&lt;/CWC2&gt;<BR></DIV>
  <DIV dir=ltr>Everything works well but when I want to use widget 
  ClearQueryResults to eliminate the results&nbsp; do not make any type of 
  action.</DIV>
  <DIV dir=ltr><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
  <DIV dir=ltr>&nbsp;&nbsp; &nbsp;&lt;CWC2 
  type="ClearQueryResults"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  visible="true"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; imagetip="Remove 
  existing query results"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  image="icons/icon_clear_query.png"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  styleresource="NavButtons"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &lt;image 
  state="normal"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &lt;image 
  state="hover"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &lt;image 
  state="selected"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &lt;/CWC2 &gt;<BR></DIV>
  <DIV dir=ltr>&nbsp;Can somebody help me? </DIV></DIV></DIV><BR clear=all>
  <HR>
  Acepta el reto MSN Premium: incluye Antivirus y Firewall de McAffee. <A 
  href="http://g.msn.com/8HMBESES/2731??PS=47575" target=_top>Descárgalo y 
  pruébalo 2 meses gratis.</A> </BLOCKQUOTE></BODY></HTML>