Em Mon, 15 Dec 2008 17:10:43 -0300, Olle Hallin
escreveu:
For example like this (very simplified):
@Component private Form myForm; // links to
@Component private PasswordField password1; // links to
Object onSuccess() {
if (passwords unequal) {
myForm.recordError(password1, "Passwor
For example like this (very simplified):
@Component private Form myForm; // links to
@Component private PasswordField password1; // links to
Object onSuccess() {
if (passwords unequal) {
myForm.recordError(password1, "Passwords does not match");
return null;
}
// else proceed with
Hi All,
I have a fairly straight forward bean edit form on a page. Its a
create new user form so, I want to check the user doesn't already
exist and that the two password fields match. I do this validation in
the onSubmit method but I am struggling to use the error reporting
mechanism to inform th