Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is @MvcBinding not supported during inheritance? #105

Open
muchiri08 opened this issue Jun 16, 2024 · 0 comments
Open

Is @MvcBinding not supported during inheritance? #105

muchiri08 opened this issue Jun 16, 2024 · 0 comments

Comments

@muchiri08
Copy link

I have a class A with several fields annotated with @MvcBinding , @FormParam and jakarta validations on them and another class B also with several fields annotated with same annotations and their validation. I have a view with a big form that needs fields from both classes A and B for binding and I decided to extend class B in A just for inheritance with idea that the inherited fields will be binded to the form also. The problem is no binding and validation took place for the inherited fields. Only the fields from class A.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant