Javascript vaidation mesages only displayed once
------------------------------------------------

                 Key: TAPESTRY-2420
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2420
             Project: Tapestry
          Issue Type: Bug
          Components: JavaScript
    Affects Versions: 5.0.12
         Environment: Mac OS X Leopard, Firefox 2: Mozilla/5.0 (Macintosh; U; 
Intel Mac OS X; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14, Tomcat 
5.5.26
            Reporter: Toby Hobson
            Priority: Minor


I've just noticed something: If I have two validators and validation fails
twice, I only see one error message. E.g.

@Validator("required, regexp") 
public String getEmail() { return email; }

message catalogue:

email-required=please enter your email 
email-regexp=(\\w+)@(\\w+\\.)(\\w+)(\\.\\w+)* 
email-regexp-message=that appears to be an invalid email format, please check it

In FF I submit the empty form and get the message telling me to enter my email.
So I enter "toby" and hit submit. Now the text field is redisplayed in red but
there is no error message - i never see the message about the invalid format.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to