Return-Path: Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 76822 invoked from network); 29 Jul 2003 21:38:54 -0000 Received: from smtp-out1.blueyonder.co.uk (195.188.213.4) by daedalus.apache.org with SMTP; 29 Jul 2003 21:38:54 -0000 Received: from localhost ([80.194.24.21]) by smtp-out1.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.5600); Tue, 29 Jul 2003 22:38:59 +0100 Date: Tue, 29 Jul 2003 22:40:44 +0100 Subject: Re: Set date issue Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v482) From: robert burrell donkin To: "Jakarta Commons Users List" Content-Transfer-Encoding: 7bit In-Reply-To: <000001c35557$af540260$6cf83c0a@beasys.com> Message-Id: <4F216A98-C20D-11D7-9AB4-003065DC754C@blueyonder.co.uk> X-Mailer: Apple Mail (2.482) X-OriginalArrivalTime: 29 Jul 2003 21:38:59.0101 (UTC) FILETIME=[D1D404D0:01C35619] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Monday, July 28, 2003, at 11:29 PM, Ujjwala Kulkarni wrote: > Hi , > > Thanks for replying. Let me try that for Date. i'm pretty sure that this works with CVS HEAD (i've added some unit tests to make sure). > I also observed that betwixt can not convert the 'int' as the object > passed to the method is Integer instead of int. I do not see any error > but the values set in the bean are 0's which are default values . > > I supplied a bean to betwixt and converted it to XML. Then used the > betwixt to read the XML to convert it to bean. I do not see the bean's > 'int' attributes populated as I supplied in the first place. this sounds a little mysterious. there are quite a few tests that use beans that have int attributes. does the property take an int or an Integer? if you could supply an example that i could use to replicate the problem in a test case then i'd be glad to take a look. - robert