I've been wondering, where should validation happen? both domain type checking (ie: valid integer, valid phone number, valid date) and other business type checking (ie: this user does infect belong to this group, this item can be added to the cart)
I've seen doValidation() but that doesnt seem to work with CommandDriven interface (although I was thinking for some kind of method to to call doCreateValidation() when doCreate() command is run or maybe in actions.xml having a validator attribute that specifies the method to be called when the command is run) right now ive just validating data in my action methods (ie: doCreate() contains all of the validation code), another thing i was thinking about was doing the domain type checking inside the parameter setters (ie: setUser() checks that the User is valid) I'd like to hear what methods of validation you guys are using.. _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ Webwork-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webwork-user