Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 2811 invoked from network); 26 Jul 2010 09:40:25 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 Jul 2010 09:40:25 -0000 Received: (qmail 80962 invoked by uid 500); 26 Jul 2010 09:40:24 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 80644 invoked by uid 500); 26 Jul 2010 09:40:22 -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 80238 invoked by uid 99); 26 Jul 2010 09:40:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Jul 2010 09:40:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED 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; Mon, 26 Jul 2010 09:40:19 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o6Q9dvQp016926 for ; Mon, 26 Jul 2010 09:39:57 GMT Message-ID: <15530359.583391280137197693.JavaMail.jira@thor> Date: Mon, 26 Jul 2010 05:39:57 -0400 (EDT) From: "Jakob Korherr (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Commented: (MYFACES-2839) cleanup of UIInput In-Reply-To: <26812573.582031280133710112.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MYFACES-2839?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D12= 892235#action_12892235 ]=20 Jakob Korherr commented on MYFACES-2839: ---------------------------------------- For _ExternalSpecifications there is already an issue in the JIRA: MYFACES-= 2582 > cleanup of UIInput > ------------------ > > Key: MYFACES-2839 > URL: https://issues.apache.org/jira/browse/MYFACES-2839 > Project: MyFaces Core > Issue Type: Improvement > Affects Versions: 2.0.1 > Reporter: Matthias We=C3=9Fendorf > Priority: Minor > > looking at shouldValidateEmptyFields() I see this code: > ... > ExternalContext extCtx =3D context.getExternalContext(); > String validateEmptyFields =3D (String) > extCtx.getInitParameter(VALIDATE_EMPTY_FIELDS_PARAM_NAME); > if (validateEmptyFields =3D=3D null) > { > validateEmptyFields =3D (String) > extCtx.getApplicationMap().get(VALIDATE_EMPTY_FIELDS_PARAM_NAME); > } > .... > =3D> Should be cached on application_map instead of always parsing the we= b.xml (getInitParam())- > Actually I don't see a put to stored it on the applcaitonMap; > Inside of the validate() I see similar code: > String contextParam =3D > context.getExternalContext().getInitParameter(EMPTY_VALUES_AS_NULL_PARAM_= NAME); > =3D> not cached > Similar in the _ExternalSpecifications clazz, no cache maintained here --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.