RE: FormBean issue

2006-05-05 Thread Vikas Phonsa
- From: Tamas Szabo [mailto:[EMAIL PROTECTED] Sent: Friday, May 05, 2006 2:14 AM To: Struts Users Mailing List Subject: Re: FormBean issue Hi! But my code (shown above), would get the value from database anytime the > chargeFee==0. > > > > So how do I distinguish between

Re: FormBean issue

2006-05-05 Thread Tamas Szabo
Hi! But my code (shown above), would get the value from database anytime the chargeFee==0. So how do I distinguish between the two cases? 1. When the chargeFee came as 0 because the default is 0 and the user had not entered any value. 2. When the chargeFee came as 0 because the u

FormBean issue

2006-05-04 Thread Vikas Phonsa
Hi Everybody, My form bean has a BigDecimal field called chargeFee with default value of 0 (new BigDecimal(0)). This field directly maps to an html text field on my web page. The web page looks something like this Client ID = Credit Amount= Charge Fee= Final Credit Amount= (Credit A