on my login-screen i have a combo which contains all usernames (email-addresses) loged in once.
If a new user wants to log in he just writes his email adress in the combo. As soon as the combo looses focus I want to validate the email address. How can I do that with Databinding? All I found out was this:
bindingContext.bindValue(WidgetProperties.text().observe(usernameCombo), PojoProperties.value("mail.address").observe(model), new UpdateValueStrategy().setAfterConvertValidator(new EmailValidator(usernameCombo, "Your email address is your username.")), null);
The WidgetProperties.text() validates the value on modify-event. How can I do something similar but with validating on focusOut?
thanks for help!