Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 56631 invoked from network); 20 Oct 2006 11:01:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Oct 2006 11:01:34 -0000 Received: (qmail 22811 invoked by uid 500); 20 Oct 2006 11:01:32 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 22692 invoked by uid 500); 20 Oct 2006 11:01:32 -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 22681 invoked by uid 99); 20 Oct 2006 11:01:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Oct 2006 04:01:31 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Oct 2006 04:01:31 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id F0DCD714316 for ; Fri, 20 Oct 2006 04:00:34 -0700 (PDT) Message-ID: <9185796.1161342034984.JavaMail.jira@brutus> Date: Fri, 20 Oct 2006 04:00:34 -0700 (PDT) From: =?utf-8?Q?Thorbj=C3=B8rn_Ravn_Andersen_=28JIRA=29?= To: dev@myfaces.apache.org Subject: [jira] Created: (MYFACES-1472) does not allow for using 1.6 features regarding caching and reloadability etc. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N does not allow for using 1.6 features regarding caching and = reloadability etc. ---------------------------------------------------------------------------= ------------------ Key: MYFACES-1472 URL: http://issues.apache.org/jira/browse/MYFACES-1472 Project: MyFaces Core Issue Type: Improvement Affects Versions: 1.1.4 Reporter: Thorbj=C3=B8rn Ravn Andersen I would like to use the new 1.6 facilities of ResourceBundle.Control to get= a ResourceBundle with translation that picks up changes in the underlying = property files on the fly. The code in LoadBundleTag.java (1.1.4) doing this is: final ResourceBundle bundle; try { bundle =3D ResourceBundle.getBundle(basename, locale, Thread.currentThread().getCon= textClassLoader()); } catch (MissingResourceException e) { log.error("Resource bundle '" + basename + "' could not be foun= d."); return Tag.SKIP_BODY; } which does not allow for any customization. If the "ResourceBundle.getBund= le(....)" could be done in an overridable way in a factory where I can prov= ide my own 1.6 code, it would probably solve this while keeping this code 1= .2 compatible. --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= p://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira