[jboss-jira] [JBoss JIRA] Closed: (JBSEAM-297) Incomplete/wrong explanation of @IfInvalid

Gavin King (JIRA) jira-events at jboss.com
Wed Jul 12 19:19:11 EDT 2006


     [ http://jira.jboss.com/jira/browse/JBSEAM-297?page=all ]

Gavin King closed JBSEAM-297.
-----------------------------

    Fix Version/s: 1.1
       Resolution: Done
         Assignee: Gavin King

removed @IfInvalid from the docs.

> Incomplete/wrong explanation of @IfInvalid
> ------------------------------------------
>
>                 Key: JBSEAM-297
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-297
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Documentation, Examples
>    Affects Versions: 1.0.1
>            Reporter: Christian Bauer
>         Assigned To: Gavin King
>            Priority: Minor
>             Fix For: 1.1
>
>
> The code listing in Seam reference 12.1 shows how @IfInvalid is applied to an action method. This code example is incomplete, the user variable also needs a @Valid annotation, otherwise no validation will be triggered. A debug message in ValidationInterceptor for "doing validation on component: foo" would have made this easier to find as well.
> The booking example doesn't use @IfInvalid/@Valid at all. However, the exp/registerExp.html file shows the correct use of @IfInvalid and @Valid. This example should be copied to the reference documentation 12.1. Then either @IfInvalid/@Valid should be used in the booking example, or the explanation should be changed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list