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

Bernard Labno (JIRA) jira-events at lists.jboss.org
Thu Sep 6 03:36:32 EDT 2012


     [ https://issues.jboss.org/browse/RF-12457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bernard Labno reassigned RF-12457:
----------------------------------

    Assignee: Bernard Labno

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


More information about the richfaces-issues mailing list