[mapguide-users] Fusion Error When Selecting From Search Results

ralph2008 rmoreno at voxiva.net
Sat Jun 28 06:55:02 EDT 2008


Sorry I thought that you was using the dotnetsamples or phpsamples.
It would be interesant to know the code of the line 737.
well I would recommend you to use a firefox extension called firebug in
order to know the line that raise the error due to likely the error is in
the client side.

you can install it from: https://addons.mozilla.org/es-ES/firefox/addon/1843

and next launch your map in firefox, then if the application fail firebug
show you the error script.

Rodolfo M.
GIS Developer
Research & Development
Voxiva, Inc.


Shamrock Shooter wrote:
> 
> I have done everything in AutoDesk Mapguide Studio 2009, so I have done no
> custom programming at all.  If Studio 2009 is using the wrong viewer, then
> that sounds like a bug on their end.  Would what you suggest below still
> be relavant?
> 
> 
> 
> ralph2008 wrote:
>> 
>> Hi Shamrock,
>> 
>> I think that you are using the Ajax API viewer instead of using theFusion
>> Viewer API.
>> The fusion viewer API is the "MapGuideViewerApi.js" and is located in:
>> "C:\Program
>> Files\MapGuideOpenSource2.0\WebServerExtensions\www\fusion\MapGuide"
>> 
>> You must referencingt this file in your script and change the some lines
>> in your scripts:
>> for instances: change "parent.parent.refresh()" by "Refresh()"
>> 
>> I hope it help you
>> 
>> Regards,
>> 
>> Rodolfo M.
>> GIS Developer
>> Research & Development
>> Voxiva, Inc.
>> 
>> 
>> 
>> Shamrock Shooter wrote:
>>> 
>>> I am running MOS 2.0.1 with AutoDesk Studio 2009.  I created a search
>>> button to lookup address from my tax parcels shapefile attribute data. 
>>> If i run it in the basic layout it works fine.  If I run it in the
>>> fusion layout, it will populate a list of values in the task pane, but
>>> when I select one of the search results, it does not zoom to it in the
>>> map and throws me this error:
>>> 
>>> Fusion Error:
>>> WARNING: Exception occurred in AJAX callback.
>>> SyntaxError: syntax error
>>> Location: undefined (737)
>>> xx)
>>> 
>>> Can anyone help me out?  I tried some searching but didn't find any
>>> similar posts.
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Fusion-Error-When-Selecting-From-Search-Results-tp18161869p18169575.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list