Integrating Mapguide with external tomcat

Farah farah at egovernments.org
Sat Oct 7 03:41:37 EDT 2006


Hi friends.!!!

 

I am trying to serve the task pane jsp from an external tomcat instance. The
external tomcat instance does a search based on the input data, displays the
results on the task pane and passes this data to the map guide tomcat
instance running on a different machine via an AJAX call. The jsp/javascript
on the map guide server is expected to display the selected search results
on the Map.

 

The search code works fine and sends the request to the Map guide server
extension. 

 

In the mapguide code, I am writing code to create markers on the map and
zoom to this result. The javascipt code to create a temporary layer with the
markers works fine. The code to zoom to the result is written in a
javascript function that is called on the onLoad event of the HTML body tag.


 

The problem is, when this page is called via an Ajax call, the onload
javascript function does not get executed.

 

 Does anyone have any idea as to how to get the javascript code to execute ,
when the file is being called via an ajax call? 

 

Or is there any other way to call the mapguide  jsp file from the external
jsp file , other than using ajax or jsp-forward page option? Please do help
me out!

 

 

Regards

Farah

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20061007/dc55038b/attachment.html


More information about the Mapguide-users mailing list