Hmmmm. Well, you can use the commons validation framework, but not the Struts validation framework (extension of commons validation framework) because your form beans must be a subclass of ValidatorForm. Not necessarily a direct subclass, but by extending ValidatorActionForm, DynaValidatorForm, or DynaValidatorActionForm.
robert > -----Original Message----- > From: Jan Dirksen [mailto:[EMAIL PROTECTED] > Sent: Friday, December 12, 2003 7:45 AM > To: Struts Users Mailing List > Subject: RE: dynamic FormBeans > > > Hi Robert, > > in other words, > i can´t use the validator-framework with > a DynaActionForm or i have to write my own Validator? > > Thanks Jan > > > --- Robert Taylor <[EMAIL PROTECTED]> schrieb: > > It depends... > > > > Roll your own validation or no validation: > > - DynaActionForm > > > > Struts validation framework where validation rules > > are executed based on > > form name > > - DynaValidatorform > > > > Struts validation framework where validation rules > > are executed based on > > action mapping > > - DynaValidatorActionForm > > > > > > > > robert > > > > > > > -----Original Message----- > > > From: Jan Dirksen [mailto:[EMAIL PROTECTED] > > > Sent: Friday, December 12, 2003 3:59 AM > > > To: [EMAIL PROTECTED] > > > Subject: dynamic FormBeans > > > > > > > > > Hi, > > > > > > since now i allways created FormBeans by extending > > > ActionForm. > > > > > > But with with version 1.1 i saw there a > > possibility to > > > create those FormBeans by declaring them with XML > > > > > > but the question i have is, which type is > > > "best practice" for use > > > > > > - DynaActionForm > > > - DynaValidatorForm > > > - DynaValidatorActionForm > > > > > > thanks alot > > > > > > Jan > > > > > > > > > > > > > > > __________________________________________________________________ > > > > > > Gesendet von Yahoo! Mail - http://mail.yahoo.de > > > Logos und Klingeltöne fürs Handy bei > > http://sms.yahoo.de > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > __________________________________________________________________ > > Gesendet von Yahoo! Mail - http://mail.yahoo.de > Logos und Klingeltöne fürs Handy bei http://sms.yahoo.de > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]