[
https://issues.apache.org/jira/browse/TAPESTRY-2420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12620795#action_12620795
]
Howard M. Lewis Ship commented on TAPESTRY-2420:
------------------------------------------------
Do you have a <t:errors/> component in your form? That is the mechanism by
which server-side errors are (currently) identified on the client. There's an
open issue, which may make it to 5.0, for error bubbles to pop up when the page
is first rendered (as happens now when the form is submitted).
> 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]