Re: [mapguide-users] Ajax viewer, URL in Properties Pane

2017-02-08 Thread RenoSun
Hey gom,

I think I found the solution.

Please change the HtmlDecode function with following code:

function HtmlDecode(input)
{
var txt = document.createElement("textarea");
txt.innerHTML = input;
return txt.value;
}




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Ajax-viewer-URL-in-Properties-Pane-tp5306236p5307071.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Ajax viewer, URL in Properties Pane

2017-02-08 Thread gom
OK. I did that and the console shows 4 property values.  The url property
value shows as null, all the other 3 show as they exist in the database.

G20070192
1
null
ADV01




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Ajax-viewer-URL-in-Properties-Pane-tp5306236p5307046.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Ajax viewer, URL in Properties Pane

2017-02-08 Thread RenoSun
Please copy and paste the code of last propertyctrl.txt that I attached, and
let me know what it print under the console.

The if statement with brackets should look like this I assume:

function HtmlDecode(input)
{
if (input == null || input == ""){
return input;
}
if (_el == null){
_el = document.createElement('div');
}
_el.innerHTML = input;
return _el.childNodes[0].nodeValue;
}




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Ajax-viewer-URL-in-Properties-Pane-tp5306236p5307044.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] mapguide-react-layout 0.7 released

2017-02-08 Thread Kajar
I'm a big Mapguide fan so if I can help to get it better then  I'll help as
much as I can.  

Kajar



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/mapguide-react-layout-0-7-released-tp5301769p5307028.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] Ajax viewer, URL in Properties Pane

2017-02-08 Thread gom
Using the debugger on the browser here is what I am seeing.

When the line /*console.log(input);*/ is included in the HtmlDecode
function, the code path followed is through that first if statement and
return input gives the expected result.

When that same line of code is left out of the function, the code path
followed is the second if statement and /*_el.childNodes[0].nodeValue;*/ is
null for the url field.  _el.innerHTML does hold the correct string.

Does this provide any meaningful information towards what might be
happening?

Thanks






--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Ajax-viewer-URL-in-Properties-Pane-tp5306236p5306980.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] mapguide-react-layout 0.7 released

2017-02-08 Thread Jackie Ng
Issue logged:
https://github.com/jumpinjackie/mapguide-react-layout/issues/118

Thanks for the package, this will help.

- Jackie





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/mapguide-react-layout-0-7-released-tp5301769p5306934.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] unable to logon Mapguide : ACE.dll failed

2017-02-08 Thread Rémy Gourrat
Thanks Hans,

But nothing about this.

I think It's a very mysterious and deep issue.

On the same tabletpc,

MapGuide 2.5.2 and 2.6.1, the ACE.dll crash the iis appool at login, and you 
can use mapguide (no maestro, no admin, no viewer...)

MapGuide 3.0 and 3.1, the ACE.dll run without problem and mapguide too

Maybe, I will have more success if I migrate the tabletPC to win10

Rémy
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users