Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Servoy Web Client has a pure HTML & CSS based UI that runs in the Browser, while all the business logic is executed on the Application Server.

With the UI running in the browser and being pure HTML and CSS, it lends itself for customization. 

...

For an example customization of the "servoy_web_client_default.css" template see the Alternative CSS for Web Client project on ServoyForge .

(info)   For  For branding some of the generic web pages that are part of the Servoy environment and are utilized by the Web Client, see Branding.

...

  • Servoy media URL's (media:///.....) inside Style tags or attributes are rewritten so they can be resolved in the browser
  • Servoy media URL's used in the 'src' attribute of Style, Script and IMG tags are rewritten so they can be resolved in the browser 
  • Script, Style and Link tags automatically end up in the head section of the DOM in the browser
  • Event handlers that in the HTML start start with "javascript:", followed by a Servoy method identifier are rewritten to perform a callback to the server
  • An onload event handler on the body of the HTML is executed in the browser when the DOM is ready

(warning)   The HTML string in the dataprovider attached to the non-editable HTMLArea needs to be valid XHTML, as it needs to be parsed and processed in order to perform the above mentioned rewrites

Example 1

The following example renders the latest 100 tweets from the servoy twitter account in the non-editable HTMLArea.

...