struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wes Wannemacher <w...@wantii.com>
Subject Re: using inject with Convention Plugin (Friday)
Date Sat, 28 Mar 2009 00:28:53 GMT

> --- On Fri, 3/27/09, Musachy Barroso <musachy@gmail.com> wrote:
>
> There is no documentation about it. Don't tell anyone I told you, but
> you just need to do something like:
>
> @Inject("the.constant")
> public void setSomeConstant(String constant) {
> }

Darn it, Musachy! If you keep giving away our secrets, how will we make all 
this money working on the framework!


-Wes
-- 

Wes Wannemacher
Author - Struts 2 In Practice 
Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more
http://www.manning.com/wannemacher


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


Mime
View raw message