[mapguide-users] MG 2.0 BUG...after GetSelectionXML

Maciej Skorczewski maciej.skorczewski at procad.pl
Thu Mar 20 03:44:20 EDT 2008


Hi

when i use onclick event (when user click on map ex. polygon i create 
pop-up window whit all information about object - i get xml whit ID of 
this object from GetSelectionXML)


---- code whit GetSelectionXML script (javascript)
params = new Array("xml",parent.ViewerFrame.mapFrame.GetSelectionXML() 
,"SESSION",parent.ViewerFrame.mapFrame.GetSessionId(),"MAPNAME",encodeURIComponent(parent.ViewerFrame.mapFrame.GetMapName()));

parent.ViewerFrame.formFrame.Submit("../my_folder/onselect.php", params, 
"scriptFrame");
----end code


i select polygon in onselect.php file...


after 1 or 2 click mgserver is down....and i get this error


---- error witch is send from my XP develop machine------
szAppName : mgserver.exe     szAppVer : 2.0.0.2308     szModName : 
msvcr80.dll
szModVer : 8.0.50727.1433     offset : 00008aa0
----- end error---------------------

i use this code in version 1.1, 1.2 without any problem....


maciek


More information about the mapguide-users mailing list