You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Bernd Bohmann (JIRA)" <de...@myfaces.apache.org> on 2017/04/08 07:25:41 UTC

[jira] [Updated] (TRINIDAD-2282) In validateLength, a default hintRange message is displayed instead of hintMaximum even when minimum value is not set

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

Bernd Bohmann updated TRINIDAD-2282:
------------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 2.1.3-core)
                   2.1.0-core
           Status: Resolved  (was: Patch Available)

looks like the issue war fixed in 2.1.0-core and only the 'Resolve Issue' Button war not pressed :-)

> In validateLength, a default hintRange message is displayed instead of hintMaximum even when minimum value is not set
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-2282
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2282
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 2.0.0-beta-2
>         Environment: JDeveloper 11.1.2.0.0
>            Reporter: Anshu Jain
>            Assignee: Scott O'Bryan
>             Fix For: 2.1.0-core
>
>         Attachments: TRINIDAD-2282_2.0.0.x, TrinidadBug2282_2.0.x.patch, TrinidadBug2282.patch
>
>
> af:validateLength is used for a input text box. The maximum value is set and minimum value is not set. Which means by default minimum is 0.
> The hintMaximum is set to "{0} is maximum allowed" and hintRange is set to "{0} is minimum, {1} is maximum"
> When the user clicks on the the given text box, hintMaximum should be displayed.
> Instead a default message: "Enter between 0 and 3 characters." is displayed. hintMaximum should be displayed in this scenario.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)