[richfaces-issues] [JBoss JIRA] Updated: (RF-3926) ajaxValidator: using '@Future' & '@Past' annotations always leads to failed validation.
Nick Belaevski (JIRA)
jira-events at lists.jboss.org
Thu Jul 17 06:04:09 EDT 2008
[ https://jira.jboss.org/jira/browse/RF-3926?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nick Belaevski updated RF-3926:
-------------------------------
Fix Version/s: 3.2.2
Assignee: Alexander Smirnov (was: Nick Belaevski)
> ajaxValidator: using '@Future' & '@Past' annotations always leads to failed validation.
> ---------------------------------------------------------------------------------------
>
> Key: RF-3926
> URL: https://jira.jboss.org/jira/browse/RF-3926
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.2.2
> Environment: IE6, IE7, FF 3.0, Safari 3.1, Opera 9.5(3.2.2.BETA1)
> Reporter: Mikhail Vitenkov
> Assignee: Alexander Smirnov
> Fix For: 3.2.2
>
>
> Step 1. Add ajaxValidator on the page:
> ...
> <h:outputLabel for="dateValue" value="Future validation:" />
> <h:panelGroup>
> <h:inputText value="#{validator.dateValue}" id="dateValue">
> <rich:ajaxValidator event="onchange"></rich:ajaxValidator>
> </h:inputText>
> <rich:message for="dateValue" showDetail="true" showSummary="true" />
> </h:panelGroup>...
> Step 2. Define dateValue in bean:
> @Future(message="Future validation failed!")
> private String dateValue;
> Inside constructor:
> .. this.dateValue = (new Date()).toString();
> +getter & setter for this field.
> Step 3. Navigate on the page, set dateValue to currentDate+1 & verify validation.
> Actual behavior:
> Validation failed. The same issue for @Past annotation.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list