cejug/hurraa — pull request #18 by efraimgentil (2014-01-30 04:31:52+00:00)
Title: Validation Sector with Bean Validation ( Using Hibernate Implementation  from JSR 303 )

Addition of errorMessage tag to simplify the use of the errors messages
Addition of singleCheckboxField tag to simply the use of a imput type="checkbox" and with label
Alteration of textField tag to handle errors too ( tested and no colateral effects so far )
Addition of field "email", "respondsOccurrence" and "ative" in Sector model
Addition of changelog in liquibase to update the included fields in sector model
Addition of ValidationUtil to handle bean validation

( Why not using @Valid, when using the annotation, the vraptor return a ${errors} list with the prefix of the action plus name of the attribute like
"insert.sector.name" = "some error message"
or when updating
"update.sector.name" = "some error message"
i didn't found a workaround for this issue so i made my implementation to handle the error map )