Jeromy, I looked into this a bit more and in the end, I was able to basically 
replace my
reference to  ActionValidatorManagerFactory with ActionValidatorManager.

I got the ActionValidatorManager instance set via the @Inject annotation.

Thanks for your response; it definitely set me in the right direction.


--- Jay Bose <[EMAIL PROTECTED]> wrote:

> Jeromy, Thanks. 
> 
> I asked this in there, and received no response.
> I will look at the use of @Inject.
> 
> --- Jeromy Evans <[EMAIL PROTECTED]> wrote:
> 
> > Hi Jay,
> > 
> > This question about the use of Struts 2 should be asked in the 
> > struts-users forum.
> > 
> > The quick answer is that XWork provides a DI mechanism.  The 
> > ValidatorFactory can be injected into a property or constructor using 
> > the @Inject annotation in objects created by the framework.  See the 
> > beans in struts-default.xml and the usages of @Inject, 
> > Container.getInstance and Container.inject for more information.
> > 
> > Jay Bose wrote:
> > > While I used WebWork-2, and the XWork associated with it, I was able to
> > programmatically
> > > retrieve action validation using the ActionValidatorManagerFactory.
> > >
> > > Now, it seems this class was removed.
> > >
> > > Any suggestions on how to programmatically get a ValidatorFactory 
> > > instance?
> > >
> > >
> > >      
> > ____________________________________________________________________________________
> > > Be a better friend, newshound, and 
> > > know-it-all with Yahoo! Mobile.  Try it now. 
> > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > >
> > >
> > >   
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 
> 
> 
>      
> ____________________________________________________________________________________
> Be a better friend, newshound, and 
> know-it-all with Yahoo! Mobile.  Try it now. 
> http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 



      
____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

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

Reply via email to