<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR>
<STYLE>@page Section1 {size: 595.3pt 841.9pt; margin: 70.85pt 2.0cm 2.0cm 2.0cm; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
P.MsoHeader {
        FONT-WEIGHT: bold; FONT-SIZE: 18pt; MARGIN: 2pt 5.65pt 2pt 9.05pt; LINE-HEIGHT: 150%; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: center
}
LI.MsoHeader {
        FONT-WEIGHT: bold; FONT-SIZE: 18pt; MARGIN: 2pt 5.65pt 2pt 9.05pt; LINE-HEIGHT: 150%; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: center
}
DIV.MsoHeader {
        FONT-WEIGHT: bold; FONT-SIZE: 18pt; MARGIN: 2pt 5.65pt 2pt 9.05pt; LINE-HEIGHT: 150%; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: center
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.StileMessaggioDiPostaElettronica18 {
        COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=IT vLink=purple link=blue>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=293430401-10102006>Hi Gianluigi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=293430401-10102006></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=293430401-10102006>The LocateByAttribute widget should do what you need.
The query is basic (it does a match of what the user types to the attribute
value), but you can't "build" an expression based on multiple fields at the same
time.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=293430401-10102006></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=293430401-10102006>I will send you the widget separately off-list, in case
you don't have access to CVS. It comes with some documentation, but you are
right in that it is not documented in the "help viewer". The widget is quite
reliable, but I haven't really integrated it with the "Buttonizer" and "Multi
Language Tools", which I suppose why it wouldn't be included in the normal
samples. But it shouldn't be hard to just modify the labels manually, if you
need to translate it to Italian.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=293430401-10102006></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=293430401-10102006>Please let me know if you run into any further
issues.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=293430401-10102006></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=293430401-10102006>Regards,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=293430401-10102006></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=293430401-10102006>Jacob</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=293430401-10102006></SPAN></FONT><FONT face=Arial color=#0000ff
size=2><SPAN class=293430401-10102006></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=293430401-10102006></SPAN></FONT> </DIV><BR>
<BLOCKQUOTE dir=ltr
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>gianluigi
nozza<BR><B>Sent:</B> 9 October 2006 20:07<BR><B>To:</B>
chameleon@lists.maptools.org<BR><B>Subject:</B> [Chameleon] LocateByAttribute
Help<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hallo to
everybody….<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I have setup the MS4W installation
with Chameleon and I am playing around with some demo. Especially I have seen
that “sample_enhanced” demo has almost any feature I would like from a WEB
Server (at present). The only feature not present here (that I desperatelly
need) is a locate by attribute feature based upon the dbf content of a shape
file.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">After having a look to the
ExpressionBuilder widget I was supposing that was the answer to my need, when
I have found a reference to an undocumented widget (LocateByAttributes) that
sounds as a more appropriate solution.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">What I need to do is the
following: let the user choose a layer (and the underlying shape file),
display to the user a list of the fields available in the dbf shape file, let
the user build a query expression, show the user a list of the matched
results, and to zoom out to the extent of the feature selected by the
user.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I believe that this is one of the
most basic need in a Web Server Application, so I’m wondering that no example
about is available in the chameleon installation for
MS4W.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Locate feature in sample_enhanced
example seems to work only trough a dedicated? Gazetter Service (what is this
?) while I need to setup my own Web Server.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Anybody has a working example of
the LocateByAttribute / ExpressionBuilder widgets that I can easily
incorporate in the sample_enhanced example ? <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">ANY, also very little help,
GREATLY appreciated. <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P></DIV></BLOCKQUOTE></BODY></HTML>