This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
1. Are there any other "best" approach/framework to handle client side validation at the client side in seam appliaction ?
2. How do we access and use the Hibernate Validation constraints values in the LiveValidation so that the validation requirements are defined at only one place as much as possible.
For eg: we define on the entity: @Length(min=5, max=10) . Now, I want to use the values 5 and 10 and also if possible map the "@Length" to the corresponding validator function of LiveValidation
I am including the "liveValidation.js" in the template.xhtml and in the individual xhtml pages I add the validation as below:
<h:form id="course" styleClass="edit">
Please suggest as this will be very useful.
Each one of us, teach(at least) one. <br />-Mahatma Gandhi