-
FEATURED COMPONENTS
First time here? Check out the FAQ!
how can i proceed after throw WrongValueException. i used x.clearErrorMessage()?
Hello sreejiss1,
The following was extracted from the official documentation:
In addition to throwing WrongValueException in Constraint.validate(Component, Object), you can throw WrongValueException in other situations. For example, you can validate the user name and password when the user presses the login button.
However, notice that you have to clear the error message manually by invoking InputElement.clearErrorMessage(). Otherwise, the error message will remain there unless Textbox.setValue(String) is called.
Best Regards,
Darksu
Asked: 2017-06-19 05:47:06 +0800
Seen: 15 times
Last updated: Jun 19 '17
wrong valueException come in front of modal popup [closed]
Use parameters in a conditional @command
Problems with multiple press and onCtrlKey
MVVM @save on the fly [closed]
Unable to activate destroyed desktop
org.zkoss.zk.ui.UiException: java.lang.ClassNotFoundException
How to put a image or Letter over image on a specific XY Coordinate