Return-Path: X-Original-To: apmail-struts-user-archive@www.apache.org Delivered-To: apmail-struts-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 71104179F2 for ; Mon, 23 Feb 2015 09:49:39 +0000 (UTC) Received: (qmail 78482 invoked by uid 500); 23 Feb 2015 09:49:21 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 78434 invoked by uid 500); 23 Feb 2015 09:49:21 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 78423 invoked by uid 99); 23 Feb 2015 09:49:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Feb 2015 09:49:21 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of andilist@gmx.de designates 212.227.17.20 as permitted sender) Received: from [212.227.17.20] (HELO mout.gmx.net) (212.227.17.20) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Feb 2015 09:48:54 +0000 Received: from [213.95.18.125] by 3capp-gmx-bs28.server.lan (via HTTP); Mon, 23 Feb 2015 10:48:53 +0100 MIME-Version: 1.0 Message-ID: From: "Andreas Sachs" To: user@struts.apache.org Subject: Aw: Re: Overwrite a TypeConverter for a Map with Generics Content-Type: text/plain; charset=UTF-8 Date: Mon, 23 Feb 2015 10:48:53 +0100 Importance: normal Sensitivity: Normal In-Reply-To: References: , Content-Transfer-Encoding: quoted-printable X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K0:RM5AqdeWBVlLF3m/6pWpNaRQ3BTZCJjzA3kS2mIhW/5 ojlOUI4UjbMI4LxwFqHCPPjcZb84iaJbWvnj9ar72kvVe4rMyl mueCJ9ruyBIQ1IUAzqu1RHIkxKP06teXl1J6FvKPwdJx7g4XVs dDMYX0ZhVK8qAghiQ+HXg+iO3ZToRD9kiZuo2kVNKi7o1+gVsc hEXJW77p97htVGvEaBPHcwcb1+YxROKg53WkHCw9NQPliA1DdH dzvam86kIP/KQP2qe8zO30W/wr2ji37524ddLpnqUgn1yFmvsZ o6Dq4w= X-UI-Out-Filterresults: notjunk:1; X-Virus-Checked: Checked by ClamAV on apache.org Hello, thanks for your answer=2E Have you tried your solution and got it working?= I already tried that before, but it always picked up the global converter = de=2Exxxx=2Econverter=2EStringTrimConverter=2E But maybe i did something wr= ong=2E I tried it with @TypeConversion(rule =3D ConversionRule=2EMAP, converter = =3D "de=2Econverter=2E=2E=2E") (with annotations and also with a class-spec= ific conversion-properties file)=2E If a specify a class name that does not exists, i get an exception=2E But = if i use a class that exists, that class is not used for conversion=2E I tried to debug DefaultObjectTypeDeterminer: it's looking for an @Element= annotation=2E The class-specific properties file (Element_textfield) will = only be used if i don't use generics=2E Or do i need to implement a Map-Converter instead of a String-Converter? Thanks Andreas =C2=A0 =C2=A0 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org