Child pages
  • NGClient Compatibility

Versions Compared

Key

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

...

  • onRender is not longer possible, webcomponents are outside servoy's control we cannot enforce behavior onto them
    but servoy 8 ships in the package 'servoyextra' an 'onrenderlabel' which mimics onrender, see below
  • webdav feature for WebClient is lost due to incompatibility with Tomcat 8 server used inside Servoy
  • printing a form from scripting is not possible, browser printing needs to be used or jasper reports for reports
  • client design is not present (yet)
  • Client side Drag'n'Drop is not supported (yet)
  • beans depending on technologies such as Java Swing or Apache Wicket will not function (no image will be shown for swing beans in the browser)
  • A much used plugin called webClientUtils from ServoyForge is not supported, since it depending on Apache Wicket'

...

  1. Stylesheets can't be set anymore on Forms, but only on Solution level
  2. Only one stylesheet can be assigned on Solution level
  3. Additional stylesheets can be included using the @import statement in the main stylesheet
  4. Inherited CSS properties (see http://stackoverflow.com/questions/5612302/which-css-styles-are-inherited) set on a Form will also affect any Forms contained in containers (TabPanel, SplitPane, Accordion etc.) 
  5. When different stylesheets are included that utilize the same classnames, the CSS properties set in the classes are merges and incase of duplicates, the last one wins

Onrender implementation

Because we can't have an onrender callback for all the components, Servoy introduced another way of doing an onrender, which will be most helpful in a portal/tableview like view. In the 'servoyextra' package there is a 'onrenderlabel' which can be used to change its appearance.

See: OnrenderLabel source for the implementation.

This label can display any dataprovider and have format support for that dataprovider. But besides that it has a styleClassExpression property which is also a dataprovider. This dataprovider can be a calculation which returns a string that is can be 1 or more class names. Those class names are defined in the solutons css (so a class that sets the background-color to red) this way you can change the appearance of a single cell in a tableview based on the record data or any relation.