jsf - model validation of table using extval -
The values in the table in my page are in the editor. Something like this:
& lt; H: DataTable var = "actor" value = "# {bean.actors}" & gt; & Lt; H: column & gt; & Lt; H: input value = "# {actor. Name}" /> & Lt; H: column & gt; & Lt; / H: datatable & gt; I want all the actor bean in the list. Actors are valid, when users click on the savings button So I put the following annotation inside my bean
@BeanValidation (usergroup = default.clash, model validation = @ModelValidation (isActive = true)) Private list & lt; Actor & gt; the actors; inside my actor object
@NotNull is the personal string name; @AssertTrue Public Boolean is invalid () So non-annotation is valid for all actors, but AssewtTrue is not valid.
GetActors} Another strange thing is that if I go to the ground level Walid is not working, but I do not have time to check it.
Comments
Post a Comment