Hi Don,

Do you mean 

@Inject(required=false)
public static void setFreemarkerManager(FreemarkerManager mgr) {
...
}

I'll give it a go and report back.

cheers.

Don Brown <[EMAIL PROTECTED]> wrote: I'm glad you found this problem.  However, 
I think it could be easier 
solved by marking the injections in the freemarker and velocity page 
filters as "required=false", and then complain very loudly if the 
filters are used by not initialized.  Then, we wouldn't need all the 
changes to xwork and guice.  In particular, I'd like to avoid changing 
the Guice source code if all possible to facilitate easier 
synchronization with the original project.

Could you back out the changes and try the required="false" approach?

Thanks,

Don

tm jee wrote:
> Hi guys, 
>
> Found a possible bug with Struts2 DI feature. Opened up a jira issue for it 
> (WW-1508). Leaving the issue open for reviews. Don if you got the time to 
> have a look, it would be great.
>
> cheers
>
>  Send instant messages to your online friends http://uk.messenger.yahoo.com 
>   


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



 Send instant messages to your online friends http://uk.messenger.yahoo.com 

Reply via email to