-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Normal
-
Affects Version/s: 7.0.4
-
Component/s: Databind 2
-
Security Level: Jimmy
-
None
-
None
the JSR-303 formBeanValidator does not iterate through nested form fields even if they are annotated with the @Valid annotation and have a Constraint on the nested property
e.g.
<intbox value="@bind(fx.age)" errorMessage="@load(vmsgs['p_age'])"/> <!-- works --> <textbox value="@bind(fx.nameDto.name)" errorMessage="@load(vmsgs['p_nameDto.name'])"/> <!-- does not work / not even sure about the syntax of 'p_????' -->
the attached example is a running maven project showing this behaviour