Return-Path: X-Original-To: apmail-myfaces-dev-archive@www.apache.org Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D1CE9DD2B for ; Thu, 28 Jun 2012 07:20:57 +0000 (UTC) Received: (qmail 68290 invoked by uid 500); 28 Jun 2012 07:20:54 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 67529 invoked by uid 500); 28 Jun 2012 07:20:49 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 67423 invoked by uid 99); 28 Jun 2012 07:20:45 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jun 2012 07:20:45 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id F3929142849 for ; Thu, 28 Jun 2012 07:20:43 +0000 (UTC) Date: Thu, 28 Jun 2012 07:20:43 +0000 (UTC) From: "Anshu Jain (JIRA)" To: dev@myfaces.apache.org Message-ID: <1383236745.65720.1340868044000.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1361111805.60768.1340781943934.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (TRINIDAD-2282) In validateLength, a default hintRange message is displayed instead of hintMaximum even when minimum value is not set MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/TRINIDAD-2282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anshu Jain updated TRINIDAD-2282: --------------------------------- Status: Open (was: Patch Available) > 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 > > 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 is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira