struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John.Pitc...@shell.ca
Subject RE: struts validator framework
Date Tue, 16 Dec 2003 20:29:04 GMT
Yes, you are correct about the differences between DynaValidatorForm and
DynaValidatorActionForm. The ValidatorForm and ValidatorActionForm are
the versions of the standard Struts ActionForm used in the Validator
framework.

I've always used the DynaValidatorForm and have never run into problems.
Unless you are doing some really weird stuff that justifies using a
concrete form data bean class, you should probably be using the
DynaValidatorForm.

-----Original Message-----
From: struts-user-digest-help@jakarta.apache.org
[mailto:struts-user-digest-help@jakarta.apache.org]
Sent: Tuesday, December 16, 2003 9:51 AM
To: struts-user@jakarta.apache.org
Cc: jan_dirksen@yahoo.de
Subject: struts validator framework


hi,
 just a question about using the validator-fw.

i want to describe a formbean in struts-config
 incl. its proberties.

like:
<formBeans name="logon" type="???">
  <form-property name="user" type="java.lang.String"/>
  <form-property name="password"
type="java.lang.String"/>
</form-bean>

for validation i want to use the framework


i guess:
-DynaValidatorForm: validation rules are executed
based on form name

-DynaValidatorActionForm: validation rules are
executed based on action mapping


and what are the classes:
ValidatorForm
ValidatorActionForm

for?


thanks
jan

__________________________________________________________________

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Logos und Klingeltöne fürs Handy bei http://sms.yahoo.de


Mime
View raw message