<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3086" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=817190403-01062007><FONT face=Arial
color=#0000ff size=2>Hi Peli,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=817190403-01062007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=817190403-01062007><FONT face=Arial
color=#0000ff size=2>Please CC to the list, because otherwise I might end up
giving the same explanation to 10 different people
individually.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=817190403-01062007><FONT face=Arial
color=#0000ff size=2>As I mentioned, you probably have to join your data.
Meaning create one single layer that has the information that you are after.
Either that, or you have to partially rewrite the widget. To get the
functionality you want would need some pretty elaborate customisation, so you
should probably just do joins on your data.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=817190403-01062007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=817190403-01062007><FONT face=Arial
color=#0000ff size=2>regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=817190403-01062007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=817190403-01062007><FONT face=Arial
color=#0000ff size=2>Jacob</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=817190403-01062007></SPAN> </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> peli kifli [mailto:luz_fik017@yahoo.com]
<BR><B>Sent:</B> 1 June 2007 10:30<BR><B>To:</B> Delfos,
Jacob<BR><B>Subject:</B> RE: question<BR></FONT><BR></DIV>
<DIV></DIV>Hi Jacob:<BR>I still have a trouble with my assignment.And sorry
about my early explanation.<BR>Now , i will ask you in another way.What i' am
understand here is, if i want to make a link between two table (table in same
database and also , table in different database), i need to use and adjust the
LocateByAttribute widget.So, if you have any suggestion, please tell me what
are the proper widget i need to use.<BR><BR>As an example, i use the chameleon
example that include in the 'ms4w PHP5 Base Installer version 2.2.3'.The
example that i used is sample_enhanced_jsapi.phtml
(chameleon/samples/sample_enhanced_jsapi.phtml).In this example, i already
success to used the search function (in the HOW_TO_USE.txt) from
LocateByAttribute widget.And i use the search function(button) at the
sample_enhanced_jsapi interface to find the 'rail' record, i choose to search
the<BR>'gid' rail data.So, all the rail data that have the same 'gid' data
value that i insert in the search function will shown up in popup interface ,
because i use the popup implementation.After that, i close the rail record
that shown up early and start the new searching.<BR><BR>Now i search the
'road' record, i also search the 'gid' data in the road record.So, all the
road data that have the same 'gid' data value that i insert in the
search function will shown up in popup interface and will arranged it by the
gid value.The gid value that shown up is the number 1,2,3,4,5,...11... and so
on.So, i want to get the record from the rail table to display in another
popup, that have the same gid with the road 'gid' data by clicking the road
'gid' data that shown up early in popup.For explanation, if i click the road
'gid' data (number 1) so, all the record or data from the rail record that
have the same 'gid' data(number 1) will shown up in another popup.So, what can
i do, please help me<BR>to solve this problem.Thank you.
<BR><BR><B><I>"Delfos, Jacob" <Jacob.Delfos@maunsell.com></I></B> wrote:
<BLOCKQUOTE class=replbq
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">
<META content="MSHTML 6.00.2900.3086" name=GENERATOR>
<DIV dir=ltr align=left><SPAN class=231132723-31052007><FONT face=Arial
color=#0000ff size=2>Hi Peli,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=231132723-31052007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=231132723-31052007><FONT face=Arial
color=#0000ff size=2>The LocateByAttribute widget allows you to specify
which attributes you want shown in the initial results page, using the
"spatialsearchlist" metadata attribute. It's in the how_to_use.txt file that
comes with it.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=231132723-31052007><FONT face=Arial
color=#0000ff size=2>If you want to join your data to other data, it's best
to do this in advance, using a database or a GIS (assuming your relationship
is one-to-one) rather than on the fly, because it is faster and more
straightforward. If your join is one to many, it would not be easy. It would
not be straightforward to adjust the LocateByAttribute widget to do
this.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=231132723-31052007><FONT face=Arial
color=#0000ff size=2>To be honest, I don't understand your explanation of
what links to what, because you are mixing cities and states. Please let me
know if you still have trouble.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=231132723-31052007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=231132723-31052007><FONT face=Arial
color=#0000ff size=2>regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=231132723-31052007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=231132723-31052007><FONT face=Arial
color=#0000ff size=2>Jacob</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=231132723-31052007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,255) 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> peli kifli
[mailto:luz_fik017@yahoo.com] <BR><B>Sent:</B> 31 May 2007
12:55<BR><B>To:</B> roix roix<BR><B>Subject:</B>
question<BR></FONT><BR></DIV>
<DIV></DIV><BR>Hi there,i'am now try to learn the chameleon example for
GIS web development<BR>and try to use the LocateByAttribute file.Now
i<BR>want to display the specific result.<BR>For example, when i type to
find an area in USA,<BR>so the list that can be found
is,California,New York,Washington <BR>and so on.And,in the california
also,<BR>all the list or data is list down.<BR>So how
can i make the coding to <BR>make the list or data from another table that
have the same name to link, <BR>As an example , table 1 have the
california name ,and table two also have <BR>the California name ,so the
data that call above will shown in the new windows or in the same
frame.<BR>Sorry about my English.If you not understand my english.I will
correct it and send it again.<BR>Thank you for your attention.<BR>
<DIV></DIV>
<HR SIZE=1>
Need a vacation? <A
href="http://us.rd.yahoo.com/evt=48256/*http://travel.yahoo.com/;_ylc=X3oDMTFhN2hucjlpBF9TAzk3NDA3NTg5BHBvcwM1BHNlYwNncm91cHMEc2xrA2VtYWlsLW5jbQ--">Get
great deals to amazing places </A>on Yahoo! Travel. </BLOCKQUOTE>
<TABLE>
<TBODY>
<TR>
<TD bgColor=#ffffff><FONT color=#000000>This email and any attachments
are intended solely for the named recipient and are confidential. The
copying or distribution of them or any information they contain by
anyone other than the named recipient is prohibited. If you have
received this document in error, please notify the sender and delete
all copies from your computer system and destroy all hard copies. It
is the recipient's responsibility to check this email and any
attachments to this email for viruses before
use.<BR></FONT></TD></TR></TBODY></TABLE></BLOCKQUOTE><BR>
<P>
<HR SIZE=1>
Ready for the edge of your seat? <A
href="http://us.rd.yahoo.com/evt=48220/*http://tv.yahoo.com/">Check out
tonight's top picks</A> on Yahoo! TV. </BLOCKQUOTE></BODY></HTML>
<table><tr><td bgcolor=#ffffff><font color=#000000>This email and any attachments are intended solely for the named recipient and are confidential. The copying or distribution of them or any information they contain by anyone other than the named recipient is prohibited. If you have received this document in error, please notify the sender and delete all copies from your computer system and destroy all hard copies. It is the recipient's responsibility to check this email and any attachments to this email for viruses before use.<br>
</font></td></tr></table>