[MVC-Programmers] Error messages for multiple validators

2002-10-04 Thread Ming Fai
Hi, In the validator sample web application, when there are two validators (e.g. required, mask ) for a field, the second validator is not functional until the first validator of *all other fields* are satisfied. Take an example, let's consider only the firstName and email fields of the registrat

Re: [MVC-Programmers] Error messages

2002-07-30 Thread Christian Fuß
Hi David and Anne, your answer, David, is correct, it's the missing headers, footers, prefixes and suffixes, and it turns out as "null", because of the following configuration in struts-config.xml which prints out null String objects as "null". Many greetings, Christian Fuss _

Re: [MVC-Programmers] Error messages

2002-07-30 Thread David M. Karr
> "Anne" == Anne Racel <[EMAIL PROTECTED]> writes: Anne> I'm having troubles displaying error messages from my code. Anne> Within the code: Anne> if(dvForm.getDtoList().size() == 0) { Anne> servlet.log("empty record set"); Anne>

[MVC-Programmers] Error messages

2002-07-30 Thread Anne Racel
I'm having troubles displaying error messages from my code. Within the code: if(dvForm.getDtoList().size() == 0) { servlet.log("empty record set"); errors.add("no records found",new ActionError("error.records.empty")); } But on the page