[richfaces-issues] [JBoss JIRA] (RF-12457) Add onmessage and onclear to rich:validator

Bernard Labno (JIRA) jira-events at lists.jboss.org
Wed Sep 5 12:39:32 EDT 2012


Bernard Labno created RF-12457:
----------------------------------

             Summary: 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


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


More information about the richfaces-issues mailing list