[Chameleon] Another LocateByAttribute widget issue...
Delfos, Jacob
Jacob.Delfos at maunsell.com
Mon Apr 30 19:22:52 EDT 2007
Hi Ian,
The page refreshes because it has (or should have) added a layer to the
map. It *shouldl* launch a popup with the searchresults prior to the
page refreshing, so your results aren't lost.
To avoid this refreshing stuff, use the CWCJSAPI widget. I wrote the
LocateByAttribute widget with cwcjsapi functionality in mind, because it
is too cumbersome to refresh the whole page. By using the cwcjsapi
widget, it won't have to refresh the whole page, and therefore you won't
lose the searchresults in the iframe after a search.
The reason you don't see the popup is probably because you have a popup
blocker (or google toolbar, or equivalent). Try using Firefox.
The highlighting should work. If not, there's bound to be a PHP error in
your log. Please let me know what it is, as well as your platform
(windows or Linux). Also, please try the fixes that I sent to Ilham
yesterday, in case you run into the same problem.
regards,
Jacob
________________________________
From: chameleon-bounces at lists.maptools.org
[mailto:chameleon-bounces at lists.maptools.org] On Behalf Of
ismith at realtors.org
Sent: 30 April 2007 23:17
To: chameleon at lists.maptools.org
Subject: [Chameleon] Another LocateByAttribute widget issue...
Hi,
I'm not sure what changes I'm supposed to see in the map when I
do a locate. When I use the widget the the page refreshes but the widget
fields are gone and nothing is highlighted. Does anyone know what I'm
supposed to see? I'm grabing the data from *.dbf and *.shp files. The
Query and LegendTemplate widgets work fine.
Here's how I have the widget configured.
<cwc2 type="LocateByAttribute"
searchall="true"
height="90"
width="360"
highlight="true"
allowdownload="false"
popup="false"
VISIBLE="TRUE"/>
</cwc2>
Thanks,
Ian
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20070501/8510ddfe/attachment.html
More information about the Chameleon
mailing list