ok thanks,i&#39;ll try do it and restart mapguide server,thanks any way<br><br>
<div class="gmail_quote">2009/6/8 Kenneth Skovhede, GEOGRAF A/S <span dir="ltr">&lt;<a href="mailto:ks@geograf.dk">ks@geograf.dk</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div text="#000000" bgcolor="#ffffff">What version of MG are you using?<br>I have not used the AJAX viewer for some time, so I can&#39;t offer you any advice.<br>If you get no responses, try posing a fresh question, as the current subject will not <br>
attract attention from the people likely to have the answer to this. 
<div>
<div></div>
<div class="h5"><br><pre cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</pre><br><br>saloua wakrim skrev: </div></div>
<blockquote type="cite">
<div>
<div></div>
<div class="h5">
<div>hi kenneth! at first thanks a lot for your help, i&#39;ve read the documentation you gove me and tried to apply it for changing selection color : format of my &quot;ajaxmappane.templ&quot; (or function wich concerning me) is</div>

<div> </div>
<div>function RequestMapImage(reqId)<br>{<br>    url = webAgent + &quot;?OPERATION=GETDYNAMICMAPOVERLAYIMAGE&amp;FORMAT=PNG&amp;VERSION=1.0.0&amp;SESSION=&quot; + sessionId + &quot;&amp;MAPNAME=&quot; + encodeComponent(mapName) + &quot;&amp;SEQ=&quot; + Math.random()</div>

<div>    document.getElementById(&quot;overlay&quot;).innerHTML =<br>            &#39;&lt;img class=&quot;mapImage&quot; name=&quot;&#39; + reqId + &#39;&quot; id=&quot;mapImage&quot; src=&quot;&#39; + url + &#39;&quot; width=&#39; + mapDevW + &#39; height=&#39; + mapDevH + &#39; border=0 vspace=0 hspace=0 style=&quot;visibility: hidden; width: &#39; + mapDevW + &#39;px; height: &#39; + mapDevH + &#39;px;&quot; onload=&quot;return OnMapOverlayImageLoaded(event)&quot;&gt;&#39;;<br>
}</div>
<div> </div>
<div>i&#39;ve tried to modify it by adding:</div>
<div>.....Math.random()<font face="Courier New"><strong>+ &quot;&amp;BEHAVIOR=7&amp;SELECTIONCOLOR=FF5300FF&quot;</strong>; As documentation says, and when i try after to get my map on ajaxviewer it&#39;s not loaded the ajax viewer is loaded but page not contains my map!!!! i&#39;ve changed version too (as documentation you sent me)</font></div>

<div> </div>
<div>VERSION=1.0.0 to <font face="Courier New">VERSION=<strong>2.0.0 but it doesn&#39;t give good result, if you can explain me why?? thanks in advance</strong></font></div>
<p> </p>
<div> </div>
<div><br><br></div>
<div><br><br> </div>
<div class="gmail_quote">2009/6/4 Kenneth Skovhede, GEOGRAF A/S <span dir="ltr">&lt;<a href="mailto:ks@geograf.dk" target="_blank">ks@geograf.dk</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div text="#000000" bgcolor="#ffffff">No need to double or triple post.<br><br>You answer can be found here:<br><a href="http://sandbox.mapguide.com/index.php/Change_Selection_Color_Setting" target="_blank">http://sandbox.mapguide.com/index.php/Change_Selection_Color_Setting</a><br>
or here:<br><a href="http://www.jasonbirch.com/nodes/2008/12/02/213/changing-selection-colour-in-mapguide-ajax-viewer/" target="_blank">http://www.jasonbirch.com/nodes/2008/12/02/213/changing-selection-colour-in-mapguide-ajax-viewer/</a> 
<div><br><pre cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
    </pre><br><br></div>saloua wakrim skrev: 
<blockquote type="cite">
<div>
<div>hi kenneth ! when we select object on map or (selection) mapguide marks it with blue color (with some transparency) who knows the code of this color? if we want use it for example as foreground to draw layer what is the code wich allow that, thanks for all in advance<br>
<br>
<div class="gmail_quote">2009/5/28 Kenneth Skovhede, GEOGRAF A/S <span dir="ltr">&lt;<a href="mailto:ks@geograf.dk" target="_blank">ks@geograf.dk</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Its the runtime layer&#39;s ID, which is a guid string, and changes for each invocation of the map.<br>
(eg, you can&#39;t save it and use it in another session).<br><br>Selection xml looks like this:<br><br>&lt;Layer id=&quot;layer guid&quot;&gt;<br> &lt;Class id=&quot;feature class&quot;&gt;<br>   &lt;ID&gt;base64 encoded primary key value&lt;/ID&gt;<br>
 &lt;/Class&gt;<br>&lt;/Layer&gt;<br><br>You can have multiple &lt;Layer&gt; tags, multiple &lt;Class&gt; tags, and multiple &lt;ID&gt; tags.<br><br>Regards, Kenneth Skovhede, GEOGRAF A/S<br><br><br><br><a href="mailto:wakrimsaloua.wakrim@gmail.com" target="_blank">wakrimsaloua.wakrim@gmail.com</a> skrev: 
<div>
<div><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">hi all! did you know what does&quot; id&quot; in &lt;layer id=255.....&gt; returned by selection xml mean? cause when i got the XmlSelection from map and i use it for getting layers it contains i&#39;ve error wich say that layers is nothing but the selection is nt i&#39;ve verifyed it the selection i got from map is not empty but the layers are nothing, so i think that can be caused by the &quot;id&quot; in &lt;layer id=255.....&gt; returned by the selection if that mean the session for example cause me when i create layer i do it with &quot;library://......mapdefinition&quot; and not &quot;Session//....mapdefinition&quot; so i think that if the id on &lt;layer id=255.....&gt; means the session used by user i think that layer contained on selection won&#39;t be known, but i&#39;m not sure please if you have some idea tell it me, thanks a lot on advance.<br>
_______________________________________________<br>mapguide-users mailing list<br><a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
 <br></blockquote>_______________________________________________<br>mapguide-users mailing list<br><a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
</div></div></blockquote></div><br></div></div><pre><hr width="90%" size="4"><div>
_______________________________________________
mapguide-users mailing list
<a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
  </div></pre></blockquote></div><br>_______________________________________________<br>mapguide-users mailing list<br><a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br><br></blockquote></div><br></div></div><pre><hr width="90%" size="4"><div class="im">

_______________________________________________
mapguide-users mailing list
<a href="mailto:mapguide-users@lists.osgeo.org" target="_blank">mapguide-users@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
  </div></pre></blockquote></div><br>_______________________________________________<br>mapguide-users mailing list<br><a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
<br></blockquote></div><br>