mvc-api icon indicating copy to clipboard operation
mvc-api copied to clipboard

Is @MvcBinding not supported during inheritance?

Open muchiri08 opened this issue 1 year ago • 0 comments

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.

muchiri08 avatar Jun 16 '24 19:06 muchiri08