[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-430) Undeprecate @IfInvalid

Gavin King (JIRA) jira-events at jboss.com
Sun Nov 12 23:18:41 EST 2006


    [ http://jira.jboss.com/jira/browse/JBSEAM-430?page=comments#action_12346755 ] 
            
Gavin King commented on JBSEAM-430:
-----------------------------------

Huh? Just put the button outside of the <h:form/> with the validation, if you don't want validation to fire.

> Undeprecate @IfInvalid
> ----------------------
>
>                 Key: JBSEAM-430
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-430
>             Project: JBoss Seam
>          Issue Type: Task
>          Components: Core
>            Reporter: Christian Bauer
>            Priority: Blocker
>             Fix For: 1.1.0.BETA1
>
>
> We need @IfInvalid to defer validation until the Invoke Application phase. You can't have a "Previous Page" button in a wizard conversation without it, <s:validateAll> would try to validate the input even if the user clicks "Previous Page". Input validation has to be delayed until "Next Page" is clicked, this is then mapped to a nextPage() action that has an @IfInvalid.

-- 
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 seam-issues mailing list