Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 73150 invoked from network); 10 Jun 2010 19:12:34 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Jun 2010 19:12:34 -0000 Received: (qmail 77038 invoked by uid 500); 10 Jun 2010 19:12:34 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 76988 invoked by uid 500); 10 Jun 2010 19:12:34 -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 76981 invoked by uid 99); 10 Jun 2010 19:12:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jun 2010 19:12:34 +0000 X-ASF-Spam-Status: No, hits=-1620.1 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jun 2010 19:12:33 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o5AJCDW2003251 for ; Thu, 10 Jun 2010 19:12:13 GMT Message-ID: <25922519.29061276197133567.JavaMail.jira@thor> Date: Thu, 10 Jun 2010 15:12:13 -0400 (EDT) From: "Diar Ahmed (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Commented: (TRINIDAD-1810) Flash component needs public version of NumberConverter.is[Min/Max][Fraction/Integer]DigitsSet() apis In-Reply-To: <27380826.92231274132442538.JavaMail.jira@thor> 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-1810?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12877535#action_12877535 ] Diar Ahmed commented on TRINIDAD-1810: -------------------------------------- Please note that two patches have been attached to this JIRA; one patch for trunk and one patch for the 12.1.12.3 branch. These patches change the is[Minimum/Maximum][Fraction/Integer]DigitsSet() apis from protected to public. > Flash component needs public version of NumberConverter.is[Min/Max][Fraction/Integer]DigitsSet() apis > ----------------------------------------------------------------------------------------------------- > > Key: TRINIDAD-1810 > URL: https://issues.apache.org/jira/browse/TRINIDAD-1810 > Project: MyFaces Trinidad > Issue Type: Improvement > Components: Components > Affects Versions: 1.2.14-core > Environment: All > Reporter: Diar Ahmed > Priority: Blocker > Attachments: 1.2.12.3.patch, trunk.patch > > Original Estimate: 24h > Remaining Estimate: 24h > > ADF Faces has a number of components ( Graph, Gauge, ... ) that accept NumberConverters in order to support number formatting. These converters can be used on the middle tier to support PNG generation, but for Flash based rendering, the NumberConverter's properties are read in the middle tier and pass down to an existing ActionScript number formatting engine. > This JIRA is to support the ability to determine whether the the following properties are set on the NumberConverter and should be transferred to Actionscript: > MinimumFractionDigits > MaximumFractionDigits > MinimumIntegerDigits > MaximumIntegerDigits > since by default, if these properties are not set, they always return 0, which is not the correct min/max fraction/integer digits used by the NumberConverter. > Currently, the NumberConverter has protected methods that provide access to whether these properties are set: > - protected boolean isMaximumFractionDigitsSet() > - protected boolean isMinimumFractionDigitsSet() > - protected boolean isMaximumIntegerDigitsSet() > - protected boolean isMinimumIntegerDigitsSet() > This JIRA is requesting that these APIs ( or alternate APIs ) are made public, to allow us to determine if these attributes are set and should be used when we perform ActionScript based formatting. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.