[mapguide-users] Scribble markup application question
Jonio, Dennis (Aviation)
DJonio at miami-airport.com
Tue Apr 7 13:05:59 EDT 2009
Warren,
It has been some time since I wrote Scribble and my head is currently
into OBJECTARX/Oracle but I believe its purpose is to stuff the
currentscribbleselectionXMLcntrl.value for the dark-side. As to why,
well I just did it that way. Yes, that is exactly what it does.
As for the error it looks to me that I store the original but on exit I
never put it back. Since I did not do it, check out the <body>
"onunload" event. I would think you just have to put the original back.
mainFrame.OnSelectionChanged = originalOnSelectionChanged;
r,
dennis
________________________________
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Warren
Medernach
Sent: Tuesday, April 07, 2009 11:57 AM
To: MapGuide Users Mail List
Subject: [mapguide-users] Scribble markup application question
I'd like to know if somebody that knows the Scribble app can explain why
the app implements a local selection changed handler and what the
purpose of it is: LocalOnSelectionChangedHandler
>From what I can see, it just sets the selectionXML to one of the hidden
fields, is this correct?
I've created a wrapper of sorts for the Scribble app that takes part of
the GT markup app for managing the creation and loading of 'local' and
global' markup resources based on a user login, and then the scribble
app for the feature creation. The app works great creating and deleting
features. However, when I exit the editing mode and close the
resources, the app goes back to the default Task Page. At this point,
if I try to select objects on the map, a JScript runtime error is
thrown: "Can't execute code from a freed script" and the app stops on a
parent.OnSelectionChanged(); call in the mapframe.aspx.
I may be off-track on this error, but I think it has something to do
with the local onchanged handler in the Scribble app?
Any insight or comments would be greatly appreciated, thanks so much.
Warren M
________________________________
E-mails are automatically scanned for viruses using McAfee.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20090407/b1a94b6a/attachment.html
More information about the mapguide-users
mailing list