...
, so I override the method with another implementation that shows the messages using alerts. You can change the implementation to show the messages as you want,
but as the previous method this has to be redefined \*/
StrutsUtils.showValidationErrors = but as the previous method this has to be redefined */ Wiki Markup
StrutsUtils.showValidationErrors = function(form, errors) {
if{
if(errors.fieldErrors) {
{
for(var fieldName in errors.fieldErrors) \{
{
for(var i = 0; i < errors.fieldErrors\[fieldName\].length; i++)\{alert('Field \ -->' + fieldName + '\nError \- -> ' + errors.fieldErrors\[fieldName\]\[i\]);
\}
\}
\}
\
}
}
}
};
/*I changed the original prototype call for the jquery's ajax call */
...