<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="country-region"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PostalCode"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="State"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Trebuchet MS";
        panose-1:2 11 6 3 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hey Kori:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Where did you see the documentation for
the “OnSelectionChanged” event? I’m looking for the event
handlers in MGOS that are similar to the ones I used with MG 6.x. Thanks.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>- Juan<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Kori Maleski
[mailto:km@pat.ca] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, May 10, 2006 6:00
PM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">users@mapguide.osgeo.org</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> [mapguide-users] Autodesk
Help - OnSelectionChanged<br>
<b><span style='font-weight:bold'>Importance:</span></b> High</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<div id=idOWAReplyText21616>
<div>
<p class=MsoNormal><font size=2 color=black face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:black'>Hi All,</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Outstanding issue with some changes:</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I need to call a function from the OnSelectionChanged event
in the mainframe.templ of the mapviewer/mapagent.</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I have a javascript function in the mainframe.templ file
itself.</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>In MGO RC 1:</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I called my function from the OnSelectionChanged event - and
it worked smooth.</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>In MGO 1.0:</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>The code changed for both the <st1:City w:st="on"><st1:place
w:st="on">AJAX</st1:place></st1:City> and DWF viewer.</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>i.e. ajaxmappane.templ and dwfmappane.templ respectively.</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>The function call from the OnSelectionChanged no longer
worked.</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I have been fiddling trying to get it working again and have
had success with the <st1:City w:st="on"><st1:place w:st="on">AJAX</st1:place></st1:City>
viewer but not the DWF Viewer.</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>For the <st1:City w:st="on"><st1:place w:st="on">AJAX</st1:place></st1:City>
viewer:</span></font><o:p></o:p></p>
</div>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>In the ajaxmappane.templ file;</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>In the ProcessFeatureInfo() function - I call my function.</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Works like a charm. Everytime I select, the function
is executed.</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>For the DWF Viewer:</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>It now has that emaprelayer.html with an OnSelectionChanged
event.</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I try calling my function there:</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> parent.parent.myfunction();</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>- doesn't work.</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I try calling it from the OnSelectionChanged event in
mainframe.templ.</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> myfunction();</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>- doesn't work.</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Doesn't work means stopping IIS, MapGuide Server - editing
and saving - then restarting.</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Can someone from Autodesk point me in the right
direction? </span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>This is critical to mirroring 6.5 functionality in our
clients applications.</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Cheers,</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>
</div>
</div>
<div id=idSignature93560>
<div>
<div>
<div style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal><font size=2 color="#29537c" face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:#29537C'> <o:p></o:p></span></font></p>
</div>
<div style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal><strong><b><font size=3 color="#29537c" face="Trebuchet MS"><span
style='font-size:12.0pt;font-family:"Trebuchet MS";color:#29537C'>Kori Maleski</span></font></b></strong><strong><b><font
size=2 color="#29537c" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS";color:#29537C'> </span></font></b></strong><strong><b><font
size=1 color="#29537c" face="Trebuchet MS"><span style='font-size:7.5pt;
font-family:"Trebuchet MS";color:#29537C'>BSc</span></font></b></strong><strong><b><font
size=2 color="#29537c" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS";color:#29537C'>. </span></font></b></strong><b><font
size=2 color="#29537c" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS";color:#29537C;font-weight:bold'><br>
</span></font></b><strong><b><font size=1 color="#29537c" face="Trebuchet MS"><span
style='font-size:7.5pt;font-family:"Trebuchet MS";color:#29537C'>Senior
Technical Consultant</span></font></b></strong><font size=2 color="#29537c"
face="Trebuchet MS"><span style='font-size:10.0pt;font-family:"Trebuchet MS";
color:#29537C'><o:p></o:p></span></font></p>
</div>
<div style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal><font size=2 color="#29537c" face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:#29537C'> </span></font><strong><b><font
face="Times New Roman"><o:p></o:p></font></b></strong></p>
</div>
<div style='margin-top:5.0pt;margin-bottom:5.0pt'>
<p class=MsoNormal><strong><b><font size=2 color="#29537c" face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:#29537C'>Pacific <st1:City
w:st="on"><st1:place w:st="on"><u1:City u2:st="on"><u1:place u2:st="on">Alliance</st1:place></st1:City></u1:place></u1:City>
Technologies</span></font></b></strong><b><font size=2 color="#29537c"
face="Trebuchet MS"><span style='font-size:10.0pt;font-family:"Trebuchet MS";
color:#29537C;font-weight:bold'><br>
</span></font></b><font size=1 color="#29537c" face="Trebuchet MS"><span
style='font-size:7.5pt;font-family:"Trebuchet MS";color:#29537C'>Suite 400
- 534 17 Ave. <st1:place w:st="on"><st1:City w:st="on"><u3:place u4:st="on"><u3:City u4:st="on"><U4:PLACE u5:st="on"><u7:City u5:st="on">SW</u3:City></U4:PLACE></u3:City></u3:place> <u3:City u4:st="on">Calgary</st1:City></u3:City>, <st1:State
w:st="on"><u3:State u4:st="on"><u1:State u6:st="on">AB</u1:State></st1:State></u3:State>
<st1:country-region w:st="on"><u3:country-region u4:st="on"><u1:country-region u7:st="on">CANADA</u1:country-region></st1:country-region></u3:country-region>
<st1:PostalCode w:st="on"><u3:PostalCode u4:st="on"><u1:PostalCode u9:st="on">T2S
0B1</u1:PostalCode></st1:PostalCode></st1:place></span></u3:PostalCode></font><font
size=2 color="#29537c" face="Trebuchet MS"><span style='font-size:10.0pt;
font-family:"Trebuchet MS";color:#29537C'><br>
</span></font><font size=1 color="#ff823d" face="Trebuchet MS"><span
style='font-size:7.5pt;font-family:"Trebuchet MS";color:#FF823D'>TEL </span></font><font
size=1 color="#2a5973" face="Trebuchet MS"><span style='font-size:7.5pt;
font-family:"Trebuchet MS";color:#2A5973'>403.770.1917 </span></font><font
size=1 color="#ff823d" face="Trebuchet MS"><span style='font-size:7.5pt;
font-family:"Trebuchet MS";color:#FF823D'>FAX </span></font><font size=1
color="#2a5973" face="Trebuchet MS"><span style='font-size:7.5pt;font-family:
"Trebuchet MS";color:#2A5973'>877.691.9149 </span></font><font size=1
color="#ff823d" face="Trebuchet MS"><span style='font-size:7.5pt;font-family:
"Trebuchet MS";color:#FF823D'>TOL </span></font><font size=1 color="#2a5973"
face="Trebuchet MS"><span style='font-size:7.5pt;font-family:"Trebuchet MS";
color:#2A5973'>877.691.9171 </span></font><font size=2 color="#29537c"
face="Trebuchet MS"><span style='font-size:10.0pt;font-family:"Trebuchet MS";
color:#29537C'><a href="http://www.pat.ca/" title="http://www.pat.ca"><font
size=1 color="#ff823d" face="Times New Roman"><span style='font-size:7.5pt;
font-family:"Times New Roman";color:#FF823D'><span title="http://www.pat.ca">www.pat.ca</span></span></font></a></span></font><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>