Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 65413 invoked from network); 17 Mar 2009 21:12:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Mar 2009 21:12:52 -0000 Received: (qmail 50556 invoked by uid 500); 17 Mar 2009 21:12:43 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 50527 invoked by uid 500); 17 Mar 2009 21:12:43 -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 50516 invoked by uid 99); 17 Mar 2009 21:12:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Mar 2009 14:12:43 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Mar 2009 21:12:35 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Ljga6-00087y-G9 for user@struts.apache.org; Tue, 17 Mar 2009 14:12:14 -0700 Message-ID: <22567815.post@talk.nabble.com> Date: Tue, 17 Mar 2009 14:12:14 -0700 (PDT) From: ryangr To: user@struts.apache.org Subject: Re: Type conversion exceptions In-Reply-To: <9f960bad0903171359x5d359ff2j3a3a564fda557cb7@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: griggsrl@gmail.com References: <22497261.post@talk.nabble.com> <22519878.post@talk.nabble.com> <22538757.post@talk.nabble.com> <9f960bad0903160749g3aac9f26sac81754bdacb9205@mail.gmail.com> <22540046.post@talk.nabble.com> <9f960bad0903160814o35c62a90s5d8da9c456c77430@mail.gmail.com> <22540930.post@talk.nabble.com> <22541495.post@talk.nabble.com> <9f960bad0903161252y42251268jde05405fc72fe4d9@mail.gmail.com> <22546980.post@talk.nabble.com> <9f960bad0903161347p3c03d3f1u3f8455b7149411e8@mail.gmail.com> <22547311.post@talk.nabble.com> <22548129.post@talk.nabble.com> <9f960bad0903171359x5d359ff2j3a3a564fda557cb7@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org I do have the global xwork-conversion.properties in the proper WEB-INF/classes which is loaded above the section of the log that I copied along with the SettingAction-conversion.properties in the SettingAction class directory. The Setting-Action-conversion.properties only contains: Element_settings=3Dcom.rjssoft.webdocs.setting.Setting I tried copying that line into the global xwork-conversion.properties file and removing the SettingAction-conversion.properties file and still the sam= e result with the static parameters coming through fine but once it transfers to the XWorkConverter the value Object comes through completely empty: com.opensymphony.xwork2.interceptor.ParametersInterceptor - Setting params settings[0].value =3D> [ 192.168.1.1 ] settings[0].title =3D> [ SMTP Server Address ]=20 com.opensymphony.xwork2.util.InstantiatingNullHandler - Entering nullPropertyValue [target=3D[com.rjssoft.webdocs.admin.SettingAction@1e29b9= 9, com.opensymphony.xwork2.DefaultTextProvider@12dd538], property=3Dsettings] com.opensymphony.xwork2.util.XWorkConverter - Property: settings com.opensymphony.xwork2.util.XWorkConverter - Class: com.rjssoft.webdocs.admin.SettingAction com.opensymphony.xwork2.util.XWorkConverter - converter is null for property settings. Mapping size: 0 com.opensymphony.xwork2.util.XWorkConverter - field-level type converter for property [settings] =3D none found com.opensymphony.xwork2.util.XWorkConverter - Property: settings.settings com.opensymphony.xwork2.util.XWorkConverter - Class: com.rjssoft.webdocs.admin.SettingAction com.opensymphony.xwork2.util.XWorkConverter - global-level type converter for property [settings] =3D com.rjssoft.webdocs.converter.SettingListConverter@d72200 com.rjssoft.webdocs.converter.SettingListConverter - Called SettingListConverter.convertValue(Map, Object, Member, String, Object, Class) com.rjssoft.webdocs.converter.SettingListConverter - target: com.rjssoft.webdocs.admin.SettingAction@1e29b99 com.rjssoft.webdocs.converter.SettingListConverter - member: public void com.rjssoft.webdocs.admin.SettingAction.setSettings(com.rjssoft.webdocs.set= ting.SettingList) com.rjssoft.webdocs.converter.SettingListConverter - propertyName: setting= s com.rjssoft.webdocs.converter.SettingListConverter - value(java.util.ArrayList): [] com.rjssoft.webdocs.converter.SettingListConverter - toType: class com.rjssoft.webdocs.setting.SettingList Ryan Lukasz Lenart wrote: >=20 > 2009/3/16 ryangr : >> com.opensymphony.xwork2.util.XWorkConverter =C2=A0- processing conversio= n file >> [com/rjssoft/webdocs/admin/SettingAction-conversion.properties] >> [class=3Dclass >> com.rjssoft.webdocs.admin.SettingAction] >=20 > As I see you have only SettingAction-conversion.properties, could you > try to use global xwork-conversion.properties? >=20 > http://struts.apache.org/2.x/docs/type-conversion.html#TypeConversion-App= lyingaTypeConverterforanapplication >=20 >=20 > Regards > --=20 > Lukasz > http://www.lenart.org.pl/ >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org > For additional commands, e-mail: user-help@struts.apache.org >=20 >=20 >=20 --=20 View this message in context: http://www.nabble.com/Type-conversion-excepti= ons-tp22497261p22567815.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org