[richfaces-planning-issues] [JBoss JIRA] Commented: (RFPL-1352) CSV: some validators do not work ajax fallback with MyFaces

Alexander Smirnov (JIRA) jira-events at lists.jboss.org
Tue Mar 22 15:35:45 EDT 2011


    [ https://issues.jboss.org/browse/RFPL-1352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12591005#comment-12591005 ] 

Alexander Smirnov commented on RFPL-1352:
-----------------------------------------

There was a bunch of errors...
The first, MyFaces always returns not-empty sourceId from the BehaviorContext, that forced CSV to use that id instead of 'this' refference.
The second, AjaxBehavior doesn't check for empty onbeforeresubmit attribute, only checks that it was set...
The third, MyFaces implementation explicitly check argument type, while Mojarra doesn't.

Workaround added to the client-side script that converts tring value to DOM element reference.

> CSV: some validators do not work ajax fallback with MyFaces
> -----------------------------------------------------------
>
>                 Key: RFPL-1352
>                 URL: https://issues.jboss.org/browse/RFPL-1352
>             Project: RichFaces Planning
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: QE
>    Affects Versions: 4.0.0.Final
>         Environment: RichFaces 4.0.0.Final r.22194
> Metamer 4.0.0.20110313-Final r.22205
> Apache MyFaces JSF-2.0 Core Impl 2.0.4
> Apache Tomcat 6.0.29
> OpenJDK Runtime Environment 1.6.0_20-b20 @Linux
> Internet Explorer 8.0 @ Win32
>            Reporter: Pavol Pitonak
>            Assignee: Alexander Smirnov
>            Priority: Minor
>             Fix For: 4.Future
>
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> # deploy Metamer and open http://localhost:8080/metamer/faces/components/richValidator/csv.xhtml
> # set wrong values (manually, not with button)
> \\
> not working:
> * @DecimalMin, @DecimalMax
> * @Digits
> * @NotNull
> * @Past, @Future
> * custom validator attached using f:validator
> {color:red}update:{color}
> issue is caused by attribute onbeforesubmit evaluated to null

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-planning-issues mailing list