Hey Joseph. I think thats something similar to what I am asking but I am not
even quiet sure. I was also wondering what if I have a method in class and I
have ClassName-methodName-validation.xml file which would validate those
base things so then in struts.xml I can do
<type="redirect-action">toThatMethod  and when it redirects it will
automatically do the validation from that xml. So would that serve my
purpose?

On 8/29/07, j alex <[EMAIL PROTECTED]> wrote:
>
> Sounds very similar to the problem i had but no straightforward solution
> yet
> ; i've put this for enhancement on JIRA -
>
> https://issues.apache.org/struts/browse/WW-2113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_41901
>
> Can you please check if this is what you need as well?
>
> -Joseph
>
>
>
> On 8/29/07, Pavel Sapozhnikov <[EMAIL PROTECTED]> wrote:
> >
> > Hey guys. Could somebody provide some input on validation chaining in
> s2.
> > Here's what I need to do. So there has to be a base validation which
> would
> > validate variable x and variable y then every other class has its own
> > validation for example Login class would validate if username and
> password
> > exist but the prerequisite is that base validation should pass. How do I
> > do
> > that in struts2. Any input would be appreciated. Thanks.
> >
> > --
> > Pavel Sapozhnikov
> > xFact, Inc
> > [EMAIL PROTECTED]
> >
>



-- 
Pavel Sapozhnikov
xFact, Inc
[EMAIL PROTECTED]

Reply via email to