Non-editable HTML area > rendered as plain text

Hi,

As a beginner in Servoy this one is probably very obvious, but I can’t find a way to make it work.

I’m trying to render some html (and css, and javascript) in a non-editable HTML-area. Only html works, but as soon as I add some Javascript, the output is just rendered as plain text. The idea for this came from this tutorial: | Servoy Tutorial: Using CSS UI Components with Callbacks. It’s not working at all… The css is not added, and there is no functionality at all.

I also tried the examples from the default Servoy wiki (https://wiki.servoy.com/display/public/DOCS/Customizing+the+Web+Client#CustomizingtheWebClient-InteractingwiththeBrowserEnvironmentthroughNon-editableHTMLAreas). Same result: plain text.

Any idea what I’m doing wrong?

Thanks in advance!

T

Hello T,

that sounds like your html is sanitized for security reasons and this could clarify or help: https://wiki.servoy.com/pages/viewpage. … d=23397000

Thank you, Patrick! That did the trick!

Still looking for a good guide to fully understand Servoy. The wiki is great as a reference, but not for learning Servoy.

The Wiki has a quick-start guide that also offers videos in certain areas. That area is less reference and more how-to. You could also have a look at http://www.servoyuniversity.com/ for a bunch of videos for all experience levels.

Will dive into that.

Thank you for the efforts!