You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Wes Wannemacher <we...@wantii.com> on 2009/03/28 01:28:53 UTC

Re: using inject with Convention Plugin (Friday)

> --- On Fri, 3/27/09, Musachy Barroso <mu...@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