[jboss-jira] [JBoss JIRA] Commented: (JBSEAM-430) Undeprecate @IfInvalid
Christian Bauer (JIRA)
jira-events at jboss.com
Fri Oct 20 03:58:41 EDT 2006
[ http://jira.jboss.com/jira/browse/JBSEAM-430?page=comments#action_12345569 ]
Christian Bauer commented on JBSEAM-430:
----------------------------------------
Apparently Gavin talked to Emmanuel and the conclusion was that it "doesn't work". Well, it works fine in my wizard and I see no other way to write wizards that remember their form state, after the user clicks Previous Page and Next Page again. The <s:validateAll/> is not enough, as long as the only way to control JSF phases is immediate="true".
> 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
>
>
> 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 jboss-jira
mailing list