[mapguide-users] NamedCollection reference
Knight, Gregory
Gregory.Knight.bra at cityofboston.gov
Fri Nov 3 16:15:25 EST 2006
I finally found the problem here. Slight typo on my part <redface>.
I finally got the tool working as desired with both the ajax and dwf
viewers.<I feel like im having a conversation with myself here : ) >
Anyways, I do have a related question... Due to the difference in which
the AJAX and DWF viewers deal with selections, I had to implement the
commands differently - AJAX as a Script and DWF as a URL. I can hide
the DWF URL command from the AJAX viewer because Invoke URL action
supports this, but I cannot hide the AJAX SCRIPT command from the DWF
viewer as Invoke Script doesn't seem to support this.
Is there some other way (programatically perhaps?) that I can hide a
Script command based on the client's viewer?
Greg
________________________________
From: Knight, Gregory
Sent: Friday, November 03, 2006 10:12 AM
To: users at mapguide.osgeo.org
Subject: RE: [mapguide-users] NamedCollection reference
A little more info on my problem here:
I am working though the examples in ch 3 of the dev guide - working with
the active selection - for both the dwf and ajax viewers.
I have 2 pages or functions - one for each viewer - and the code is the
same in both cases with the exception of the single line of code that
gets the selection from the map. As the dev guide explains, this is due
to the different manner in which the dwf and ajax viewers deal with
selections.
So, my DWF example is working. I can select a feature on my map, and
return feature data to my task pane. My AJAX example isn't working, and
I still get the error below.
Seems rather odd, since the code is the same with the noted exception.
Any insight here?
Greg
________________________________
From: Knight, Gregory
Sent: Thursday, November 02, 2006 4:52 PM
To: users at mapguide.osgeo.org
Subject: [mapguide-users] NamedCollection reference
I am getting the following error when loading a mg page that retrieves
feature properties from a selected feature.
Duplicate object.Duplicate object. Exception occurred in method
CheckDuplicate at line 491 in file
c:\build_tux_area\mgdev_opensource\common\service\data\NamedCollection.c
pp
How do I go about troubleshooting this?
Greg Knight
________________________________
The substance of this message, including any attachments, may be
confidential, legally
privileged and/or exempt from disclosure pursuant to Massachusetts
law. It is intended
solely for the addressee. If you received this in error, please
contact the sender and
delete the material from any computer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide_users/attachments/20061103/d56bb2fb/attachment.html
More information about the Mapguide_users
mailing list