You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/04/03 11:11:48 UTC
DO NOT REPLY [Bug 18644] New: -
Inherited validation in validation.xml
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18644>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18644
Inherited validation in validation.xml
Summary: Inherited validation in validation.xml
Product: Struts
Version: 1.1 RC1
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: Validator Framework
AssignedTo: struts-dev@jakarta.apache.org
ReportedBy: javaone@indiatimes.com
Hi,
I am desigining an application, in which I have action forms that inherit from
other created action forms.
E.g
public class BaseActionForm extends ValidatorAction
{
private String attributeOne;
private String attributeTwo;
}
public class ExtendedActionForm extends BaseActionForm
{
private String attributeThree;
private String attributeFour;
}
Now I have validations defined for BaseActionForm in the validationConfig, now
I need to add validation for ExtendedActionForm, in which I want to mention to
implicitly include all the validations mentioned in BaseActionForm.
How can I achive this, can someone please help me.
Regards
Kartik
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org