javaFX - Field validation


I am newbie to javaFX. I created one registration form using fxml. Now i want to implement the field validation functionality. I am trying to implement the validation for TextField but still I am not getting it. Please can anyone help me.

thanks Naresh

9/16/2013 10:10:49 AM

Unfortunately, there is no validation framework within JavaFX. Even frameworks such as Granite Data Services had troubles with bean validation with JavaFX:

If you are interested with bean validation with JavaFX, Granite generate java beans with JavaFX Property fields with bean validation enabled (you validate your java bean which is binded to your javafx components). It can be a good solution, or a good inspiration for your problem.

9/16/2013 10:21:50 AM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow