You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Matthias Weßendorf (JIRA)" <ad...@incubator.apache.org> on 2007/01/26 07:28:49 UTC

[jira] Resolved: (ADFFACES-363) tr:validateDateTimeRange has incorrect hint when only minimum attribute is set.

     [ https://issues.apache.org/jira/browse/ADFFACES-363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Weßendorf resolved ADFFACES-363.
-----------------------------------------

    Resolution: Fixed

fixed in trunk (Revision: 497401)

the returnRangeHints() checks for if both are set (max and min) and return only the *range* hint.
in case of min-> minHint (vise versa for maxHint)


> tr:validateDateTimeRange has incorrect hint when only minimum attribute is set.
> -------------------------------------------------------------------------------
>
>                 Key: ADFFACES-363
>                 URL: https://issues.apache.org/jira/browse/ADFFACES-363
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>         Environment: Latest Trinidad trunk.
>            Reporter: Bill Baggett
>         Assigned To: Matthias Weßendorf
>            Priority: Minor
>
> If I have the following:
>                 <tr:inputText value="#{demoInput.date}"
>                               label="Input date:"
>                               shortDesc="Value will fail validation for dates earlier than 2007">
>                   <tr:convertDateTime/>
>                   <tr:validateDateTimeRange minimum="2007-01-01"/>
>                 </af:inputText>
> It will produce 2 validator hints: "The date cannot be after 12/31/1969" and "The date cannot be before 1/1/2007.
> The first validator hint is incorrect.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.