<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2722" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=137032513-10102005><FONT face=Arial color=#0000ff 
size=2>Marcello, </FONT></SPAN></DIV>
<DIV><SPAN class=137032513-10102005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=137032513-10102005><FONT face=Arial color=#0000ff size=2>Radio 
buttons should work just fine for telling MapServer what mode you want to 
use.&nbsp; I suggest posting the text of your template file so we can look at 
it.&nbsp; </FONT></SPAN></DIV>
<DIV><SPAN class=137032513-10102005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=137032513-10102005><FONT face=Arial color=#0000ff 
size=2>David.</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> UMN MapServer 
  Users List [mailto:MAPSERVER-USERS@LISTS.UMN.EDU] <B>On Behalf Of </B>Marcello 
  Benigno Borges de Barros Filho<BR><B>Sent:</B> Sunday, October 09, 2005 7:39 
  AM<BR><B>To:</B> MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B> 
  [UMN_MAPSERVER-USERS] how the " itemquery mode" works?<BR><BR></FONT></DIV>
  <DIV><FONT face=Arial>Hi all,</FONT></DIV>
  <DIV align=justify><FONT face=Arial></FONT>&nbsp;</DIV>
  <DIV align=justify><FONT face=Arial>&nbsp;Recently I&nbsp;made some tests with 
  queries in mapserver using the&nbsp; "Beginning Mapserver" book examples , but 
  i have some&nbsp;questions about the "itemquery mode". For example, i tested 
  wiht <FONT face="Courier New">&lt;SELECT ...&gt; <FONT 
  face=Arial>html&nbsp;</FONT><FONT face=Arial>command&nbsp;and my example works 
  </FONT></FONT><FONT face=Arial>fine:</FONT></FONT></DIV>
  <DIV align=justify><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV align=justify><FONT face=Arial>...</FONT></DIV>
  <DIV align=justify><FONT face=Arial>&lt;select name="mode"&gt;</FONT></DIV>
  <DIV align=justify><FONT face=Arial>&lt;option 
  value="browse"&gt;Browse&lt;/option&gt;<BR>&lt;option 
  value="query"&gt;query&lt;/option&gt;<BR>&lt;option value="itemquery"&gt;query 
  by attributes&lt;/option&gt;<BR>&lt;/select&gt;</FONT></DIV>
  <DIV align=justify><FONT face=Arial>...</FONT></DIV>
  <DIV align=justify><FONT face=Arial></FONT>&nbsp;</DIV>
  <DIV align=justify><FONT face=Arial>When i try the same with radio buttons, 
  the "itemquery mode" doesn´t works.</FONT></DIV>
  <DIV align=justify><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV align=justify><FONT face=Arial size=2>...</FONT></DIV>
  <DIV align=justify><FONT face=Arial>&lt;input type="radio" name="mode" 
  value="browse"&nbsp; checked&gt;Browse;&lt;br&gt;<BR>&lt;input type="radio" 
  name="mode" value="query" &gt;query&lt;br&gt;</FONT></DIV>
  <DIV align=justify><FONT face=Arial>&lt;input type="radio" name="mode" 
  value="itemquery" &gt;query by attributes&lt;br&gt;</FONT></DIV>
  <DIV align=justify><FONT face=Arial>....</FONT></DIV>
  <DIV align=justify><FONT face=Arial></FONT>&nbsp;</DIV>
  <DIV align=justify><FONT face=Arial>The map file and the header and footer 
  files are the same in my two examples. why will be?&nbsp;Some wrong 
  CGI&nbsp;parameter?</FONT></DIV>
  <DIV align=justify><FONT face=Arial></FONT>&nbsp;</DIV>
  <DIV align=justify><FONT face=Arial>Best regards,</FONT></DIV>
  <DIV align=justify>&nbsp;</DIV>
  <DIV align=justify><FONT face=Arial>Marcello</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=Arial></FONT>&nbsp;</DIV></BLOCKQUOTE></BODY></HTML>