Return-Path: Delivered-To: apmail-struts-dev-archive@www.apache.org Received: (qmail 77572 invoked from network); 5 Jul 2004 13:32:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 5 Jul 2004 13:32:29 -0000 Received: (qmail 73904 invoked by uid 500); 5 Jul 2004 13:32:22 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 73839 invoked by uid 500); 5 Jul 2004 13:32:22 -0000 Mailing-List: contact dev-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list dev@struts.apache.org Received: (qmail 73818 invoked by uid 99); 5 Jul 2004 13:32:21 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [192.18.33.10] (HELO exchange.sun.com) (192.18.33.10) by apache.org (qpsmtpd/0.27.1) with SMTP; Mon, 05 Jul 2004 06:32:19 -0700 Received: (qmail 15059 invoked by uid 50); 5 Jul 2004 13:33:32 -0000 Date: 5 Jul 2004 13:33:32 -0000 Message-ID: <20040705133332.15058.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: dev@struts.apache.org Cc: Subject: DO NOT REPLY [Bug 29919] - validator is not ideal X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=29919 validator is not ideal ndeloof@capgemini.fr changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Additional Comments From ndeloof@capgemini.fr 2004-07-05 13:33 ------- You may ask for help on users-list before creating a new bug ticket. Form-bean may have only String or boolean attributes. Beeing so, they can handle exactly what the user typed in his browser, been validated, and display back to the user for correction. If some attributes have to be numbers in your application, you should convert in an Action class (assuming form has allready been validated, you don't have to cleanly handle convert exceptions) or use PropertyUtils.copyProperties() to populate a business object having same properties names but typed as int. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org For additional commands, e-mail: dev-help@struts.apache.org