How to do inherited validation using validation.xml

2003-04-03 Thread Kartik Shah
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



Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com

 Buy The Best In BOOKS at http://www.bestsellers.indiatimes.com

Bid for for Air Tickets @ Re.1 on Air Sahara Flights. Just log on to 
http://airsahara.indiatimes.com and Bid Now !


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How to do inherited validation using validation.xml

2003-04-03 Thread Kartik Shah
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]