[mapguide-users] Re: SetSelectionXML Problem (Selection and Zoom to selected Feature)

Sicky Christian.Rueh at rostock.zgdv.de
Mon Feb 22 05:53:12 EST 2010


Ah, sorry, the html-escapings gets interpreted here, I try again to post Line
42 where I got the syntax error after calling
StringEscapeUtils.escapeHtml()-method:
parent.parent.mapFrame.SetSelectionXML(<?xml version="1.0"
encoding="UTF-8"?><FeatureSet
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="FeatureSet-1.0.0.xsd"> <Layer
id="7e26d504-01cb-102d-8004-00ff14671d25">  <Class
id="Default:alk_alk_flurstueck">  
<ID>rwMAAA==</ID>  </Class>
</Layer></FeatureSet>);

P.S.: Nick, your solution to call the function automatically is pretty
smart, I really wondered how to do that, so thanks for that! :)
-- 
View this message in context: http://n2.nabble.com/SetSelectionXML-Problem-Selection-and-Zoom-to-selected-Feature-tp4585892p4611339.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list