Child pages
  • RuntimeHtmlArea

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Div
styledisplay:none

DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING.
THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO AUTO UPDATE THE CONTENT THROUGH THE DOC GENERATOR.

Div
iddescription

The HTMLArea provides a way to show and edit HTML content. The capabilities and how they are presented to the user differ between the Smart and Web Client.

Smart Client

The HTMLArea in the Smart Client unfortunately does not support modern day HTML-related standards like HMTL5 and CSS3. It supports   HTML3, a subset of HTML4 and CSS2. As such, it can be used to display and edit basic formatted text.

When editing HTML through the HTMLArea in the Smart Client the MenuBar with edit options is shown in the window's menubar area, so not in or directly above the HTMLArea itself.

Possible replacements for the HMTLArea in the Smart Client are:

  • svyJFXWebView component: Servoy module that wraps JavaFX's WebView and makes it easily usable form within Servoy.
    Does not have a HTML Editor embedded by default as it is just a browser component, which can be used to show a HTML Editor like TinyMCE or CK Editor.
    The svyJFXWebView component does require Java 7 or higher 
  • Browser Suite
    The Browser Suite can render modern HTML and also includes a HTML Editor component. The downside of the Browser Suite is a hefty additional download and it (currently) doesn't work under Java 7 on OSX
  • Sferyx Html Editor
    Commercial HTML Editor component

Web Client

In the Web Client the content of a HTMLArea is rendered inline in the HTML markup of the Servoy form, thus it comes down to the capabi



HTML Table
id
classservoy sReturnTypes
Colgroup Tag
Col
colspan2
width100%
Col
Table Head (thead)
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Extends
Table Row (tr)
Table Cell (td)
Span
classsWordList
RuntimeComponent

...