Re: Invalid dates / numbers etc on forms

2005-07-13 Thread Christopher Marsh-Bourdon
Have you never developed using Dynamic Action Forms? With the vanilla Action Forms you may be right, but with Dynamic ones, I have found that Validator really cuts down the work. Cheers Christopher Marsh-Bourdon www.marsh-bourdon.com AIM: marshbourdon On 13 Jul 2005, at 14:54, Larry Meador

Re: Invalid dates / numbers etc on forms

2005-07-13 Thread Larry Meadors
No offense (and not to sound like Mark Galbreath), but as a long time struts user, I have never found validator to save time or code...not even once. Larry On 7/13/05, Martin Gainty <[EMAIL PROTECTED]> wrote: > The Struts-validator will certainly be able to handle date-validation for > you > the

Re: Invalid dates / numbers etc on forms

2005-07-13 Thread Martin Gainty
The Struts-validator will certainly be able to handle date-validation for you there is an excellent tutorial located at http://www.oracle.com/technology/products/jdev/howtos/10g/strutsvalidator/struts_validator_howto.html#setup 1)Add validator to your struts-config.xml 2)copy validator-rules.xml

Re: Invalid dates / numbers etc on forms

2005-07-13 Thread Larry Meadors
The recommended pattern is to have only string properties on your ActionForm classes that are mapped to typed data in your model. You can write a component to do #2 and register it with bean-utils, but you for sure do not want to pass the action form into your model. Larry On 7/13/05, Lance Sem