Versions Compared

Key

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

...

  • convertFromObject()
    Convert from UI value to dataprovider value
  • convertToObject()
    Converts from dataprovider value to UI value
  • type (one of TEXT, INTEGER, NUMBER, DATETIME or MEDIA)
    The UI data type (so the resulting type of the convertToObject()).

Java Code Example

This is an example of a plugin that delivers a converter from joda time (which has support for time persiods) to java-util-date (which is supported by Servoy UI elements) time.
The dataprovider type will be MEDIA because Servoy does not natively support.

...

See Creating plugins for an example on how to implement a plugin which provides a UI converter.

Solution model

UI converters are currently not supported by the solution model.

...