Interface Callout

    • Method Detail

      • start

        String start​(Properties ctx,
                     String method,
                     int WindowNo,
                     GridTab mTab,
                     GridField mField,
                     Object value,
                     Object oldValue)
        Start Callout.

        Callout's are used for cross field validation and setting values in other fields when returning a non empty (error message) string, an exception is raised

        When invoked, the Tab model has the new value!

        Parameters:
        ctx - Context
        method - Method name
        WindowNo - current Window No
        mTab - Model Tab
        mField - Model Field
        value - The new value
        oldValue - The old value
        Returns:
        Error message or ""
      • convert

        String convert​(String method,
                       String value)
        Conversion Rules. Convert a String
        Parameters:
        method - in notation User_Function
        value - the value
        Returns:
        converted String or Null if no method found