Hello, 

The bean-validation example works now, after adding jboss-logging-3.1.1.GA.jar

I didn't know I could use a jboss file jar with only Netbeans 7.3 and Apache 
Tomcat 7.0.34.So the java jar file influence the validation and the message 
errors directly on html page. 


PS : with the exclude_parameters example, the errors messages are not in the 
same files
=======================================
exclude_parameters :
EditAction.properties
personBean.firstName=First name

EditAction-validation.xml
<validators>
 <validator type="requiredstring">
     <param name="fieldname">personBean.firstName</param>
     <message>First name is required.</message>
 </validator>

===================================

bean-validation ( All is in EditAction.properties ) 

EditAction.properties
personBean.firstName=First name
firstName.required=You must enter the first 
name===============================================

Regards,

Chris


Reply via email to