Yep I agree. But writing plugins would not help as plugin would be
loaded during the application load time. 

Can there be some thing which can be looked at or any ideas on what
could be the better way to implement this sort of condition?

Thanks for your help.

-----Original Message-----
From: Scott Van Wart [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 15, 2006 8:18 PM
To: Struts Users Mailing List
Subject: Re: Help on Validation

Vishal Seth wrote:
> I got the first point mentioned where I would need to override the
> validationKey method and not the second one. 
>
> Problem here is it is not only required during login time but
throughout
> the application there can be different validations for each form or
some
> of the forms. Hence if I follow the first point mentioned I would need
> to have different forms entry throughout the application.
>   
Well yeah, that's kind of the point of the architecture.  There becomes 
a point where reusing form beans can't be rationalized because the forms

are trying to tackle too vastly different tasks.  You might want to 
rethink the way you're approaching it, maybe writing your own validator 
plugins, etc.

- Scott

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





MASTEK 
"Making a valuable difference"
Mastek in NASSCOM's 'India Top 20' Software Service Exporters List.
In the US, we're called MAJESCOMASTEK

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and not that of 
Mastek Limited, unless specifically indicated to that effect. Mastek Limited 
does not accept any responsibility or liability for it. This e-mail and 
attachments (if any) transmitted with it are confidential and/or privileged and 
solely for the use of the intended person or entity to which it is addressed. 
Any review, re-transmission, dissemination or other use of or taking of any 
action in reliance upon this information by persons or entities other than the 
intended recipient is prohibited. This e-mail and its attachments have been 
scanned for the presence of computer viruses. It is the responsibility of the 
recipient to run the virus check on e-mails and attachments before opening 
them. If you have received this e-mail in error, kindly delete this e-mail from 
all computers.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


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

Reply via email to