[mapguide-users] Re: Hyperlinks in Properties pane of Ajax viewer

Jose Cerrejon gis at mapas-sll.com
Wed Sep 1 07:16:47 EDT 2010


Casually today I've needed it.

If you have a row (ex. in a .dbf file) with html code, modify the next code
about the line 402 in SelectionPanel.js (sorry about the dirty way of solve
it):


            var td = document.createElement('td');
            var html = layerObj.getElementValue(featureIdx, i);
            var htmlDecode =
html.replace('&amp;','&').replace('&lt;','<').replace('&gt;','>');
            td.innerHTML = htmlDecode;


any better way will be apreciated.
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Hyperlinks-in-Properties-pane-of-Ajax-viewer-tp5480165p5486434.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list