From adffaces-dev-return-397-apmail-incubator-adffaces-dev-archive=incubator.apache.org@incubator.apache.org Tue Jul 11 13:16:41 2006 Return-Path: Delivered-To: apmail-incubator-adffaces-dev-archive@locus.apache.org Received: (qmail 26162 invoked from network); 11 Jul 2006 13:16:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Jul 2006 13:16:41 -0000 Received: (qmail 23760 invoked by uid 500); 11 Jul 2006 13:16:27 -0000 Delivered-To: apmail-incubator-adffaces-dev-archive@incubator.apache.org Received: (qmail 23719 invoked by uid 500); 11 Jul 2006 13:16:27 -0000 Mailing-List: contact adffaces-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: adffaces-dev@incubator.apache.org Delivered-To: mailing list adffaces-dev@incubator.apache.org Received: (qmail 23700 invoked by uid 99); 11 Jul 2006 13:16:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Jul 2006 06:16:27 -0700 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=HTML_MESSAGE,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [198.168.250.2] (HELO canada-smtp1.consulting.fujitsu.com) (198.168.250.2) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Jul 2006 06:16:26 -0700 Received: from Montreal-NS002.notes.dmr (montreal-ns002.notes.dmr [205.151.154.84] (may be forged)) by canada-smtp1.consulting.fujitsu.com (8.13.6/8.13.6) with ESMTP id k6BDFXGa018881 for ; Tue, 11 Jul 2006 09:15:33 -0400 To: adffaces-dev@incubator.apache.org Subject: Re: Issue ADFFACES-44 MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5.4 March 27, 2005 Message-ID: From: Simon_Lessard@DMR.CA Date: Tue, 11 Jul 2006 09:14:52 -0400 X-MIMETrack: Serialize by Router on Montreal-NS002/DMR/CA(Release 6.5.4|March 27, 2005) at 07/11/2006 09:15:56 AM, Serialize complete at 07/11/2006 09:15:56 AM Content-Type: multipart/alternative; boundary="=_alternative 0048E105852571A8_=" X-Proofpoint-Spam-Reason: safe X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --=_alternative 0048E105852571A8_= Content-Type: text/plain; charset="US-ASCII" Hello, Concerning this issue, I found out there is already something existing for that in MessageFactory, I'll make RegExpValidator uses it. Simon Lessard Fujitsu Consulting ----- Forwarded by Simon Lessard/NOTES on 2006-07-11 09:11 ----- Simon Lessard 2006-07-10 14:02 To: adffaces-dev@incubator.apache.org cc: Subject: Issue ADFFACES-4494BF92478B4A3D14852571A700613A60 Hello, I'm bringing this issue on dev list because there's many possibilities concerning that issue. As a summary let say that currently, all tag attributes allowing EL will fail if they use a managed bean loaded with tag if the expression is evaluated outside RenderResponse (happens more than often for error message attributes that are evaluated inprocess validation phase) because that's the only time when the bean exists. The various fixes I can see are: 1) Don't consider it a bug and documents attributes accordingly. 2) Create an tag that would load the bean in the restore view phase instead of render response. The beanwould have to be a bit more intelligent than currently to support in-between phase locale changes. 3) Provides an utility class that users could define as a resource bean in faces-config.xml and then use as a map bean like loadBundle provides and discourage the use of loadBundle. What option looks the best to you? Or do you see a better one ? Personally, I think I would do both 2) and 3) as well as mentioning the issue in the error message attribute documentation. Regards, Simon Lessard Fujitsu Consulting
Putting check in the checkbox to remove attachments
--=_alternative 0048E105852571A8_=--