[S2] problems with validations

2008-01-31 Thread juanc
t that key associated it?, and how can i get the param 8 from this xml sintax? Sorry for my english, thanks a lot for your help. -- View this message in context: http://www.nabble.com/-S2--problems-with-validations-tp15214068p15214068.html Sent from the Struts - User mailing list archive at N

[S2] problems with validations

2008-01-31 Thread Juan Carlos Serrano
Hi, i have this code when i get a error if( person.getNumId() == null || person.getNumId().trim().length() < 9 ) { String[] pars = {"8"}; this.addFieldError( "field.doc" , this.getText( " error.val.minlength" , pars ) ); } where "field.doc" it is a key wit