{"id":18519645,"url":"https://github.com/kyuff/validation-binder","last_synced_at":"2025-10-29T19:38:02.247Z","repository":{"id":22390808,"uuid":"25727698","full_name":"kyuff/validation-binder","owner":"kyuff","description":"Proof of Concept of using java.validation with JavaFX","archived":false,"fork":false,"pushed_at":"2015-07-02T20:19:33.000Z","size":300,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-17T05:12:34.103Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kyuff.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-25T10:25:56.000Z","updated_at":"2014-11-14T20:26:22.000Z","dependencies_parsed_at":"2022-07-25T13:17:07.339Z","dependency_job_id":null,"html_url":"https://github.com/kyuff/validation-binder","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyuff%2Fvalidation-binder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyuff%2Fvalidation-binder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyuff%2Fvalidation-binder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyuff%2Fvalidation-binder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kyuff","download_url":"https://codeload.github.com/kyuff/validation-binder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254190394,"owners_count":22029632,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T17:16:59.811Z","updated_at":"2025-10-29T19:37:57.193Z","avatar_url":"https://github.com/kyuff.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"validation-binder\n=================\n\nProof of Concept of using java.validation with JavaFX\n\nRun the DemoApp to try it out.\n\nRead motivation here: http://blog.kyuff.dk/2014/11/binding-to-bean-validations.html\n\n\nEXAMPLE\n=======\n\nThis examples uses different bindings for the validator.\n\n        ValidationBinder\u003cPerson\u003e validator = new BeanValidator\u003c\u003e(Person.class)\n            // simple binding - a normal use case\n            .bind(Handlers.messages(phoneErrors::setText), Person::getPhone)\n            // multi binding with chained handlers\n            .bind(Handlers.messages(nameErrors::setText).andThen(\n                            Handlers.styling(nameBox, \"error\")\n                    ), pojo -\u003e {\n                        pojo.getFirstName();\n                        pojo.getLastName();\n                    }\n            )\n            // binding to fields in the entity object graph\n            .bind(Handlers.messages(carErrors::setText), pojo -\u003e {\n                pojo.getCar().getEngine();\n                pojo.getCar().getPrice();\n            });\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyuff%2Fvalidation-binder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkyuff%2Fvalidation-binder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyuff%2Fvalidation-binder/lists"}