<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"
xmlns:ns0="urn:schemas-microsoft-com:office:smarttags">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-2">
<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="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="City"/>
<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;}
@font-face
        {font-family:"Arial CE";}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        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:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Trebuchet MS";
        color:navy;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:"Trebuchet MS";
        color:navy;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'>Ivan,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'>I believe it is
how you are handling the NEW MGSelection.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'>Here is code I
posted previously:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=1 color=black face=Tahoma><span style='font-size:
9.0pt;font-family:Tahoma;color:black'>Dim l_sSelect As String <br>
Dim l_sMapName As String <br>
Dim l_sSession As String <br>
<br>
l_sMapName = Request("MAPNAME") <br>
l_sSession = Request("SESSION") <br>
l_sSelect = Request("SELECTION") <br>
<br>
’MapGuideApi.InitializeSockets() <br>
'InitializeWebTier() <br>
<br>
Dim l_oCred As New MgUserInformation(l_sSession) <br>
'connect to the site and get a feature service and a resource service instances
<br>
<br>
Dim l_oSite As New MgSiteConnection() <br>
l_oSite.Open(l_oCred) <br>
<br>
Dim l_oFeatureSrvc As MgFeatureService = l_oSite.CreateService(MgServiceType.FeatureService)
<br>
Dim l_oResourceSrvc As MgResourceService =
l_oSite.CreateService(MgServiceType.ResourceService) <br>
<br>
'Create a temporary map runtime object, locate the layer <br>
Dim l_oMap As New MgMap() <br>
l_oMap.Open(l_oResourceSrvc, l_sMapName) <br>
<br>
Dim l_oSel As MgSelection = New MgSelection(l_oMap, l_sSelect) <br>
Dim l_cSelLayers As MgReadOnlyLayerCollection = l_oSel.GetLayers()</span></font><font
size=2 color=navy face="Trebuchet MS"><span style='font-size:10.0pt;font-family:
"Trebuchet MS";color:navy'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'>There is a
difference between how the <st1:place w:st="on"><st1:City w:st="on">AJAX</st1:City></st1:place>
and DWF viewer handle it.<o:p></o:p></span></font></p>
<p class=MsoNormal><st1:City w:st="on"><st1:place w:st="on"><font size=2
color=navy face="Trebuchet MS"><span style='font-size:10.0pt;font-family:
"Trebuchet MS";color:navy'>AJAX</span></font></st1:place></st1:City><font
size=2 color=navy face="Trebuchet MS"><span style='font-size:10.0pt;font-family:
"Trebuchet MS";color:navy'> holds the selection server side. DWF holds it
client side.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'>The selection
has to be passed to the page in the case of the DWF.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'>Hope this helps.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'>Cheers,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'><o:p> </o:p></span></font></p>
<div>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><strong><b><font
size=2 color=navy face="Trebuchet MS"><span style='font-size:10.0pt;font-family:
"Trebuchet MS";color:navy'>Kori Maleski</span></font></b></strong><b><font
size=2 color=navy face="Trebuchet MS"><span style='font-size:10.0pt;font-family:
"Trebuchet MS";color:navy;font-weight:bold'><br>
</span></font></b><strong><b><font size=1 color=navy face="Trebuchet MS"><span
style='font-size:7.5pt;font-family:"Trebuchet MS";color:navy'>GIS Consultant</span></font></b></strong><b><font
size=1 color=navy face="Trebuchet MS"><span style='font-size:7.5pt;font-family:
"Trebuchet MS";color:navy;font-weight:bold'><br>
</span></font></b><strong><b><font size=1 color=black face="Trebuchet MS"><span
style='font-size:7.5pt;font-family:"Trebuchet MS";color:black'>403.651.3714 (</span></font></b></strong><strong><b><font
size=1 face="Trebuchet MS"><span style='font-size:7.5pt;font-family:"Trebuchet MS"'><ns0:City
w:insAuthor="Maleski" w:insDate="2006-09-25T09:53:00Z" w:endInsAuthor="Maleski"
w:endInsDate="2006-09-25T09:53:00Z"><ns0:place w:insAuthor="Maleski"
w:insDate="2006-09-25T09:53:00Z" w:endInsAuthor="Maleski"
w:endInsDate="2006-09-25T09:53:00Z"><st1:place w:st="on"><st1:City w:st="on"><font
color=black><span style='color:black'>Mobile</span></font></st1:City></st1:place></ns0:place></ns0:City><font
color=black><span style='color:black'>)</span></font></span></font></b></strong><font
color=navy><span style='color:navy'><o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=3 color=navy face="Times New Roman"><span style='font-size:12.0pt;
color:navy'> <o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=3 color=navy face="Times New Roman"><span style='font-size:12.0pt;
color:navy'> </span></font><font size=2 color=black face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:black'><o:p></o:p></span></font></p>
</div>
<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'> Ivan Miličević
[mailto:ivan@ineo.hr] <br>
<b><span style='font-weight:bold'>Sent:</span></b> September 25, 2006 9:19 AM<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> RE: [mapguide-users] is
it possible to make onslelect action?</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>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=HR
style='font-size:10.0pt;font-family:Arial;color:navy'>Hi Kori.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=HR
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 lang=HR
style='font-size:10.0pt;font-family:Arial;color:navy'>This is my problem.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=HR
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 lang=HR
style='font-size:10.0pt;font-family:Arial;color:navy'>When I open app in ajax
viewer and select something, in menu on taskbar I select „report for
locations“ and this event opens lokacije0.aspx. This works perfectly.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=HR
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 lang=HR
style='font-size:10.0pt;font-family:Arial;color:navy'>When I do same thing wit
dwf viewer application hangs (in lokacije0.aspx). I put comment's in file and I
wolud like that you take a look on it. What I do wrong?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=HR
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 lang=HR
style='font-size:10.0pt;font-family:Arial;color:navy'>Sorry about my english, i
hope so that you understand problem. Ajax is working but DWF's not.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=HR
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 lang=HR
style='font-size:10.0pt;font-family:Arial;color:navy'>Thank you very much for
your time.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=HR
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 lang=HR
style='font-size:10.0pt;font-family:Arial;color:navy'>Ivan.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=HR
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:<st1:PersonName w:st="on">kmale@telus.net</st1:PersonName>] <br>
<b><span style='font-weight:bold'>Sent:</span></b> 20. rujan 2006 7:49<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> RE: [mapguide-users] is
it possible to make onslelect action?</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=HR
style='font-size:12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'>It is
possible. Do you have DWF Composer installed?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'>The OnSelectionChanged
event will fail when DWF Composer is installed along side DWF Viewer when the
Composer is installed AFTER the Viewer.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'>Try reinstalling
the DWF Viewer and see if you can get it to work.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'>If it
doesn’t let me know what edits you made.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'>Cheers,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:navy'><o:p> </o:p></span></font></p>
<div>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><strong><b><font
size=2 color=navy face="Trebuchet MS"><span style='font-size:10.0pt;font-family:
"Trebuchet MS";color:navy'>Kori Maleski</span></font></b></strong><b><font
size=2 color=navy face="Trebuchet MS"><span style='font-size:10.0pt;font-family:
"Trebuchet MS";color:navy;font-weight:bold'><br>
</span></font></b><strong><b><font size=1 color=navy face="Trebuchet MS"><span
style='font-size:7.5pt;font-family:"Trebuchet MS";color:navy'>GIS Consultant</span></font></b></strong><b><font
size=1 color=navy face="Trebuchet MS"><span style='font-size:7.5pt;font-family:
"Trebuchet MS";color:navy;font-weight:bold'><br>
</span></font></b><strong><b><font size=1 color=black face="Trebuchet MS"><span
style='font-size:7.5pt;font-family:"Trebuchet MS";color:black'>403.651.3714 (<st1:place
w:st="on"><st1:City w:st="on">Mobile</st1:City></st1:place>)</span></font></b></strong><font
color=navy><span style='color:navy'><o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=3 color=navy face="Times New Roman"><span style='font-size:12.0pt;
color:navy'> <o:p></o:p></span></font></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font
size=3 color=navy face="Times New Roman"><span style='font-size:12.0pt;
color:navy'> </span></font><font size=2 color=black face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:black'><o:p></o:p></span></font></p>
</div>
<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'> Ivan Miličević
[mailto:<st1:PersonName w:st="on">ivan@ineo.hr</st1:PersonName>] <br>
<b><span style='font-weight:bold'>Sent:</span></b> September 14, 2006 3:20 AM<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] is it
possible to make onslelect action?</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>
<p class=MsoNormal><font size=2 face=Arial><span lang=HR style='font-size:10.0pt;
font-family:Arial'>With dwf viewer? I was able to open page in taskframe but
with AJAX. Is it possible with DWF viewer?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=HR style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=HR style='font-size:10.0pt;
font-family:Arial'>Thanks for any help.<o:p></o:p></span></font></p>
<p><i><font size=2 face="Arial CE"><span lang=HR style='font-size:10.0pt;
font-family:"Arial CE";font-style:italic'>--------------------</span></font></i><span
lang=HR> <br>
</span><em><i><font size=2 face=Arial><span lang=HR style='font-size:10.0pt;
font-family:Arial'>Ivan Miličević, voditelj razvoja</span></font></i></em><i><font
size=2 face=Arial><span lang=HR style='font-size:10.0pt;font-family:Arial;
font-style:italic'><br>
<em><i><font face=Arial><span style='font-family:Arial'>iNEO d.o.o. </span></font></i></em><br>
<em><i><font face=Arial><span style='font-family:Arial'>091 502 9672</span></font></i></em></span></font></i><span
lang=HR> <o:p></o:p></span></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=HR
style='font-size:12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>