[mapguide-users] Re: Problem to show properties in Ajax viewer with
ver. 2.2.0.5197
Gunter Becker
gunter.becker at csogis.de
Mon Oct 18 18:06:50 EDT 2010
Hi Dan,
you have luck, I got also errors. I'm using Windows Server 2008 SP1!
I don't know if one of them is the same error you have discovered. At least
number one of them I think is related to localization and is independent of
the operating system and the browser:
1. In the responseText of the ajax call in line 3881 mapframe.aspx I've
encountered double values with german localization. It uses a comma as
separator instead of a dot (or is it point?). This causes an error on
evaluating the responseText (json) in line 3886:
var resp = eval('(' + respText + ')');
This is the content of respText:
{"flurstuecksflaechen" : [{"values" : [{"name" : "FLUR", "value" : "46"
},{"name" : "GKNZ", "value" : "499" },{"name" : "NENNER", "value" : "1"
},{"name" : "ZAEHLER", "value" : "37" }], "zoom" : {"x" : 3472889,12982542,
"y" : 5560257,77589747}}]}
Have a look at the x- and y-coordinate of the zoom parameter! It's an
additional parameter to my properties list and it is present at each
request. So, I haven't seen the new PropertiesPane until now.
Is there a setting to change the separator?
2. The second error I've encountered results in a FDO exception:
"{"Error":{"Message":"An exception occurred in FDO component.
Property 'Name' is not found ","StackTrace":"-
MgFeatureServiceHandler.ProcessOperation() line 83 file
c:\\builds\\mg22x64\\mgdev\\server\\src\\services\\feature\\FeatureServiceHandler.cpp
- MgOpSelectFeatures.Execute() line 109 file
c:\\builds\\mg22x64\\mgdev\\server\\src\\services\\feature\\OpSelectFeatures.cpp
- MgServerFeatureService.SelectFeatures() line 433 file
c:\\builds\\mg22x64\\mgdev\\server\\src\\services\\feature\\ServerFeatureService.cpp
- MgServerSelectFeatures.SelectFeatures() line 266 file
c:\\builds\\mg22x64\\mgdev\\server\\src\\services\\feature\\ServerSelectFeatures.cpp
"}}"
I can't figure out what's going on. The requested featuresource has indeed
no property "Name".
Gunter
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Problem-to-show-properties-in-Ajax-viewer-with-ver-2-2-0-5197-tp5611272p5648929.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list