[Geomoose-users] Verify Mapbook Service
gayani
gayani.edirisinghe at gmail.com
Fri Oct 7 01:42:49 EDT 2011
Hi,
Thanks for your reply. And I need to know how can I call to variable '$dis'
within the .map file that called from perticular service.
Thanks
Gayani Edirisinghe
On Thu, Oct 6, 2011 at 7:09 PM, Dan Little [via Geomoose-users] <
ml-node+s964460n3399698h57 at n3.nabble.com> wrote:
> This isn't really complete enough for us to diagnose everything that's
> going on. Again, my previous email suggests using Firebug to ensure that
> the service is being called, it applies here too.
>
> The big problem I see is that you are passing URL style key-value pairs to
> startService, which is actually expecting a javascript-object.
>
> Your print statment should look like this:
> print "javascript:GeoMOOSE.startService('query_dis', {'dis' : '".$dis."')"
>
> Have you looked into using query.php for any of your queries?
>
> ------------------------------
> *From:* gayani <[hidden email]<http://user/SendEmail.jtp?type=node&node=3399698&i=0>
> >
> *To:* [hidden email]<http://user/SendEmail.jtp?type=node&node=3399698&i=1>
>
> *Sent:* Wednesday, October 5, 2011 11:18 PM
> *Subject:* [Geomoose-users] Verify Mapbook Service
>
> Hi,
> I need to call to service in map book through php script. How can I verify
> the service working properly. The coding and information of the process is
> as follows.
>
> calling to service from php file
> print " javascript:GeoMOOSE.startService('query_dis','dis=".$dis."') List
> of district projects ";
> Here call to the service query_dis with variable.
>
> serive in map book is
> <service name="quey_dis" selectable="false"
> default="false" locked="true" >
> <url>/cgi-bin/mapserv.exe?</url>
> <input type="hidden"
> value="Proceed"/>
> <input type="hidden" name="map"
> value="/ms4w/apps/geomoose2/maps/demo/disquery/districtpro.map"/>
>
> <input type="hidden" name="mode"
> value="NQUERY"/>
> <input type="hidden" name="sector"
> value=""/>
> </service>
>
> Do you have any experience on this?
>
> --
> View this message in context:
> http://geomoose-users.964460.n3.nabble.com/Verify-Mapbook-Service-tp3398734p3398734.html
> Sent from the Geomoose-users mailing list archive at Nabble.com.
> _______________________________________________
> Geomoose-users mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=3399698&i=2>
> http://lists.osgeo.org/mailman/listinfo/geomoose-users
>
>
>
> _______________________________________________
> Geomoose-users mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=3399698&i=3>
> http://lists.osgeo.org/mailman/listinfo/geomoose-users
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://geomoose-users.964460.n3.nabble.com/Verify-Mapbook-Service-tp3398734p3399698.html
> To unsubscribe from Verify Mapbook Service, click here<http://geomoose-users.964460.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3398734&code=Z2F5YW5pLmVkaXJpc2luZ2hlQGdtYWlsLmNvbXwzMzk4NzM0fDIwMTE5NTA3OTk=>.
>
>
--
View this message in context: http://geomoose-users.964460.n3.nabble.com/Verify-Mapbook-Service-tp3398734p3401986.html
Sent from the Geomoose-users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20111006/89fe426f/attachment.html
More information about the Geomoose-users
mailing list