<!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> </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. I suggest posting the text of your template file so we can look at
it. </FONT></SPAN></DIV>
<DIV><SPAN class=137032513-10102005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </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> </DIV>
<DIV align=justify><FONT face=Arial> Recently I made some tests with
queries in mapserver using the "Beginning Mapserver" book examples , but
i have some questions about the "itemquery mode". For example, i tested
wiht <FONT face="Courier New"><SELECT ...> <FONT
face=Arial>html </FONT><FONT face=Arial>command and my example works
</FONT></FONT><FONT face=Arial>fine:</FONT></FONT></DIV>
<DIV align=justify><FONT face=Arial size=2></FONT> </DIV>
<DIV align=justify><FONT face=Arial>...</FONT></DIV>
<DIV align=justify><FONT face=Arial><select name="mode"></FONT></DIV>
<DIV align=justify><FONT face=Arial><option
value="browse">Browse</option><BR><option
value="query">query</option><BR><option value="itemquery">query
by attributes</option><BR></select></FONT></DIV>
<DIV align=justify><FONT face=Arial>...</FONT></DIV>
<DIV align=justify><FONT face=Arial></FONT> </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> </DIV>
<DIV align=justify><FONT face=Arial size=2>...</FONT></DIV>
<DIV align=justify><FONT face=Arial><input type="radio" name="mode"
value="browse" checked>Browse;<br><BR><input type="radio"
name="mode" value="query" >query<br></FONT></DIV>
<DIV align=justify><FONT face=Arial><input type="radio" name="mode"
value="itemquery" >query by attributes<br></FONT></DIV>
<DIV align=justify><FONT face=Arial>....</FONT></DIV>
<DIV align=justify><FONT face=Arial></FONT> </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? Some wrong
CGI parameter?</FONT></DIV>
<DIV align=justify><FONT face=Arial></FONT> </DIV>
<DIV align=justify><FONT face=Arial>Best regards,</FONT></DIV>
<DIV align=justify> </DIV>
<DIV align=justify><FONT face=Arial>Marcello</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial></FONT> </DIV></BLOCKQUOTE></BODY></HTML>