2013/3/27 lucas owen <sr.ilus...@gmail.com>: > NEVER MIND > > it turns out that a co-worker had touched validate() method: > > public void validate(){ > Map<String, List<String>> fieldError = new HashedMap(); > setFieldErrors(fieldError); > } > > what i didn´t know is that (calling "save" action) after validateSave, > Struts 2 continues executing validate, erasing, in this case, field errors.
Check the docs [1], param alwaysInvokeValidate, you can change that behaviour [1] http://struts.apache.org/development/2.x/docs/validation-interceptor.html Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org