From: Anthony E. <me...@an...> - 2002-06-02 12:35:24
|
> -----Original Message----- > From: for...@li... > [mailto:for...@li...] On > Behalf Of Fabien DUMINY > Sent: Saturday, June 01, 2002 5:40 PM > To: for...@li... > Subject: [FormProc-developer] bug submission + feature request > > > I have just discovered FormProc and I find it great. I am glad. > > ______________________________________________________ > 1 - I found a bug in my tests (I use a custom components to > render field values) : > > at line 344 of Form.java in process(FormElement ...): > > replace > if(formData == null || formData.getValue().equals("")){ > > by > if(formData == null || formData.getValue()==null || > formData.getValue().equals("")){ The code in the CVS is already fixed, although slightly differently: if(formData == null || "".equals(formData.getValue())){ > ______________________________________________________ > 2 - A great feature that I need is : > checking constraints between fields and another dynamic value > (that is not in the form). > > Fields are : "quantity", "unit value of article" > dynamic value is : "balance of an account used to buy articles" > > Is there anybody working on such a feature ? No. This sounds a lot like business logic which means it probably shouldn't be in FormProc directly. However, if you do come up with something interesting and want to contribute it, just send me the files. Sincerely, Anthony Eden |