From adffaces-user-return-1609-apmail-incubator-adffaces-user-archive=incubator.apache.org@incubator.apache.org Tue Dec 19 14:58:50 2006 Return-Path: Delivered-To: apmail-incubator-adffaces-user-archive@locus.apache.org Received: (qmail 48577 invoked from network); 19 Dec 2006 14:58:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Dec 2006 14:58:49 -0000 Received: (qmail 73282 invoked by uid 500); 19 Dec 2006 14:58:55 -0000 Delivered-To: apmail-incubator-adffaces-user-archive@incubator.apache.org Received: (qmail 73269 invoked by uid 500); 19 Dec 2006 14:58:54 -0000 Mailing-List: contact adffaces-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: adffaces-user@incubator.apache.org Delivered-To: mailing list adffaces-user@incubator.apache.org Received: (qmail 73254 invoked by uid 99); 19 Dec 2006 14:58:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Dec 2006 06:58:54 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of mwessendorf@gmail.com designates 64.233.182.185 as permitted sender) Received: from [64.233.182.185] (HELO nf-out-0910.google.com) (64.233.182.185) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Dec 2006 06:58:44 -0800 Received: by nf-out-0910.google.com with SMTP id a4so2329775nfc for ; Tue, 19 Dec 2006 06:58:21 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=hKGBI1jg9twdCmVzy3Q0Gq055lbFzSCsGgqIafxmLcfcXh+ktTCfRlH5t955oWFMOTXu83okNf5tJd8XopGucbDZLJlFymmH/E/8Dr0DuQOYbCGiJOLJzkXm7AfLb+aIOZ9aoohl3HV30IA+3S/KEuVz18yMagdnyxK1Kj+mZxQ= Received: by 10.49.27.17 with SMTP id e17mr6974832nfj.1166540301737; Tue, 19 Dec 2006 06:58:21 -0800 (PST) Received: by 10.48.238.3 with HTTP; Tue, 19 Dec 2006 06:58:21 -0800 (PST) Message-ID: <71235db40612190658j5e96a9feif729936d9324bb7b@mail.gmail.com> Date: Tue, 19 Dec 2006 15:58:21 +0100 From: "Matthias Wessendorf" Sender: mwessendorf@gmail.com To: adffaces-user@incubator.apache.org Subject: Re: Problem with usesUpload attribute in form and encoding In-Reply-To: <1F701D303A73F2458C1F9B1439C115E40139D994@ex1.S2.int> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1F701D303A73F2458C1F9B1439C115E40139D994@ex1.S2.int> X-Google-Sender-Auth: 78c92816001d0891 X-Virus-Checked: Checked by ClamAV on apache.org k, lemme check. one more question; is that guy in fron of the TrinidadFilter ? Thx, Matthias On 12/19/06, Kunze, Anton wrote: > Hello Matthias, > > I have configured the spring character encoding filter as first filter > in web.xml, but encoding is incorrect. > > > CharacterEncodingFilter > > org.springframework.web.filter.CharacterEncodingFilter lter-class> > > > encoding > UTF-8 > > > > > CharacterEncodingFilter > *.jsf > > > > CharacterEncodingFilter > *.xhtml > > > > -- > > Anton Kunze > Entwicklung > > a.kunze@s2neueinformatik.de > T: +49.40.80 81 69-630 > F: +49.40.80 81 69-808 > > SinnerSchrader Neue Informatik > >> Software. Design. Interfaces. > http://www.s2neueinformatik.de/ > > > -----Original Message----- > From: mwessendorf@gmail.com [mailto:mwessendorf@gmail.com] On Behalf Of > Matthias Wessendorf > Sent: Tuesday, December 19, 2006 3:15 PM > To: adffaces-user@incubator.apache.org > Subject: Re: Problem with usesUpload attribute in form and encoding > > Hello anton, > > are you using a filter in front of the faces servlet that queries the > http parameter map ? > > In MyFaces the *FacesContextFactory* calls the setCharEncoding on the > underlying request object. Doing a query before JSF (MyFaces) calls > setCharEncoding will disable the this call. > > When using RI and Faclets this is not working: > https://facelets.dev.java.net/issues/show_bug.cgi?id=190 > > HTH, > Matthias > > On 12/19/06, Kunze, Anton wrote: > > Hello, > > > > I have a problem with encoding of german special characters after > > submitting a trinidad form with attribute usesUpload="true". My > Trinidad > > form (myfaces, facelets, UTF-8) with several textfields and an > inputFile > > shows all characters correct. After a submit, all german special > > characters in textfields are incorrect. If I set usesUpload to false > > everything looks fine. What can I do? > > > > Best regards > > > > > -- > Matthias Wessendorf > http://tinyurl.com/fmywh > > further stuff: > blog: http://jroller.com/page/mwessendorf > mail: mwessendorf-at-gmail-dot-com > -- Matthias Wessendorf http://tinyurl.com/fmywh further stuff: blog: http://jroller.com/page/mwessendorf mail: mwessendorf-at-gmail-dot-com