struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kartik Shah <javaon...@yahoo.co.in>
Subject How to do inherited validation using validation.xml
Date Thu, 03 Apr 2003 09:46:13 GMT
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


________________________________________________________________________
Missed your favourite TV serial last night? Try the new, Yahoo! TV.
       visit http://in.tv.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message