[
https://issues.jboss.org/browse/RF-12457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12716223#comment-12716223
]
Brian Leathem commented on RF-12457:
------------------------------------
I like the names _onvalid_ and _oninvalid_. These should be trivial to add.
> Add onmessage and onclear to rich:validator
> -------------------------------------------
>
> Key: RF-12457
> URL: https://issues.jboss.org/browse/RF-12457
> Project: RichFaces
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: component-validators
> Affects Versions: 4.2.2.Final
> Reporter: Bernard Labno
> Fix For: 4.3-Tracking
>
>
> When rich:validator find validation error then it raises JS event that is
> handled by rich:message and the validation error message is show.
> However we can't i.e. toggle error class on input label, the input itself and
> do other crazy stuff.
> It would be great if rich:validator had onmessage and onclear attributes so
> that user could bind JS callbacks that would do custom magic.
> Currently rich:validator contains "onerror" attribute but it conecerns ajax
> request error (it's the same as in a4j:ajax), so we can't use it.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues