[Geomoose-users] [Geomoose-developers] Search Menu / Tab

Dan Little danlittle at yahoo.com
Wed Nov 7 09:42:15 EST 2007


Jay,

Is your site available to the public? I might be able to diagnose what's going on faster if it is.

Thanks,

-duck

----- Original Message ----
From: Jay Kapalczynski <jkapalczynski at ci.maple-grove.mn.us>
To: Bob Basques <Bob.Basques at ci.stpaul.mn.us>; geomoose-developers at lists.sourceforge.net; geomoose-users at lists.sourceforge.net
Sent: Wednesday, November 7, 2007 8:31:03 AM
Subject: Re: [Geomoose-users] [Geomoose-developers] Search Menu / Tab

Thanks for your reponse Bob....

1. Yea I tried moving the order around....in the statedemo.html
2. I then tried to move the order around in the Itemquery.map file as
well

Still nothing....I don't know what else it can be...

Anyone else out there have any ideas...

Thanks again for all your help




-----Original Message-----
From: Bob Basques [mailto:Bob.Basques at ci.stpaul.mn.us] 
Sent: Tuesday, November 06, 2007 4:25 PM
To: geomoose-developers at lists.sourceforge.net;
geomoose-users at lists.sourceforge.net; Jay Kapalczynski
Subject: Re: [Geomoose-developers] Search Menu / Tab

Jay,

Not positive about this, but I did notice the capitalization on the two
different "value" parameters are not the same, the second one is all
capitalized, there may be a need to keep them one way or the other, my
gut feeling is that they need to be capitalized, as the value is used
 to
match against a data column/type of some sort.

Real quickly, you could swap their display order around and see if the
same one still works or not, then you'll know if it's the data of the
query that's at fault.

bobb


>>> "Jay Kapalczynski" <jkapalczynski at ci.maple-grove.mn.us> wrote:

I have been working on getting a tab running to do my searches.  I have
somewhat succeded in that I created a new tab and I can copy some of
 the
code that allows the user to enter a Park Name and search for it and
zoom to it...
 
Although I want to take this a bit further and have multiple searches
 on
the same tab
 
Right now I modified the menu to allow for searches on Park, Parcel
 PID,
and Street Name.
Each one is working properly from the Menu 
 

 
 
My problem is when I try and bring this code to the Tab..as long as I
stay with just one of the searches I am ok.it breaks down when I try
 and
bring more than one..then only the last one works...
 
 
 
I created a new entry in the Menue Title (statemenu.xml)
 
                <menu title="Search">
                                <item title="Search for Parks"
href="javascript:ServManager.startService('Search for Parks')"/>
                                <item title="Search for PID"
href="javascript:ServManager.startService('Search for PID')"/>
                                <item title="Search for Street"
href="javascript:ServManager.startService('Search for Street')"/>
                                <item title="Search for Stuff"
href="javascript:ServManager.startService('Search for Stuff')"/>
                </menu>
 
 
 
I created a new entry in the service title (statedemo.xml)
 
                                <service title="Search for Stuff"
selectable="false" default="false" locked="true" div="StuffSearch">
 
<url>/cgi-bin/mapserv.exe</url>
                                                <input type="hidden"
name="map"
value="/ms4w/apps/GeoMOOSE/maps_statedemo/itemquery_Stuff.map"/>
                                                <input type="hidden"
name="mode" value="nquery"/>
                                                <input type="user"
name="id" title="Zoom to Stuff:"/>
                                </service>
 
 
I create a new entry for the search (statedemo.html)
 
 
    <div id="StuffSearch">
 
                <font color="black"><b>Search for Park:</b></font><br/>
                <input name="id"/><input type="submit"
value="Search_Park"/>
                <input type="hidden" name="map"
value="/ms4w/apps/GeoMOOSE/maps_statedemo/itemquery.map"/>
                <input type="hidden" name="mode" value="nquery"/>
                <br><i>Enter Park Name.<i/>
 

                <font color="black"><b>Search for PID:</b></font><br/>
                <input name="id"/><input type="submit"
value="SEARCH_PID"/>
                <input type="hidden" name="map"
value="/ms4w/apps/GeoMOOSE/maps_statedemo/itemquery.map"/>
                <input type="hidden" name="mode" value="nquery"/>
                <br><i>Enter PID number.<i/> </div>
 
 
 
 

 
 
 
 
 
When written like above you can see both of them but only the second
 one
works..the first errors out.
 
ANY THOUGHTS WH Y BOTH WILL NOT WORK?

OR ANY THOUGHTS HOW I CAN GET THIS TO WORK?
 
 
THanks
 
Jay

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Geomoose-users mailing list
Geomoose-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geomoose-users





__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20071107/11798ffb/attachment.html


More information about the Geomoose-users mailing list