Package org.zkoss.zul

Interface CustomConstraint

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void showCustomError​(org.zkoss.zk.ui.Component comp, org.zkoss.zk.ui.WrongValueException ex)
      To display the error message in a custom way.
    • Method Detail

      • showCustomError

        void showCustomError​(org.zkoss.zk.ui.Component comp,
                             org.zkoss.zk.ui.WrongValueException ex)
        To display the error message in a custom way. Note: this method is called either with a error or not, depending on whether ex is null.
        Parameters:
        comp - the component causing the error.
        ex - the error to display, or null to clear the error message.