struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xavier Vanderstukken ...@ionicsoft.com>
Subject Validations bugs
Date Sun, 05 Mar 2006 18:33:20 GMT
It seems to me that server side validation does not work with Struts 1.3

The getValudationKey
public String getValidationKey(ActionMapping mapping, HttpServletRequest 
request) {
        return mapping.getAtribute();
    }

returns allways the action url : /Login

instead of LoginForm.

I override this method to return mapping.getName() and now the method 
returns LoginForm and the server side validation works.

However all the validation fails with the following error in html:messages :
null is required.

What is the null property ???


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message