struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From umeshawas...@gmail.com
Subject Re: Preferred Way to Inject Dependency in plugin
Date Wed, 05 Dec 2012 09:08:59 GMT
Yes I am going with provider option to load validator 
------Original Message------
From: Lukasz Lenart
To: Struts Developers List
ReplyTo: Struts Developers List
Subject: Re: Preferred Way to Inject Dependency in plugin
Sent: Dec 5, 2012 1:59 PM

2012/12/5 Umesh Awasthi <umeshawasthi@gmail.com>:
> I believe with Struts 3.x we should have such mechanism where we can use
> Internal DI to inject dependency in such way :)

But you can achieve the same with Maven right now, just specify an
optional dependency. Beside Validation class can load default provider
http://docs.jboss.org/hibernate/beanvalidation/spec/1.1/api/javax/validation/Validation.html


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

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



Sent from BlackBerry® on Airtel
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org

Mime
View raw message