[ 
https://issues.apache.org/struts/browse/WW-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47164#action_47164
 ] 

Musachy Barroso commented on WW-2754:
-------------------------------------

yes, Struts DI is Guice pre 1.0. you need to create a bean for it, to make it 
managed by the container, like

<bean name="mybean" class="SomeClass" />

if you just want to inject some static references:

<bean class="SomeClass" static="true" />

and annotate the static methods with @Inject

> Source code for GXP result 
> ---------------------------
>
>                 Key: WW-2754
>                 URL: https://issues.apache.org/struts/browse/WW-2754
>             Project: Struts 2
>          Issue Type: Temp
>            Reporter: Musachy Barroso
>             Fix For: Future
>
>         Attachments: gxp.webwork.tar.gz, struts-gxp-plugin.zip, 
> struts-gxp-plugin.zip, struts-gxp-plugin.zip
>
>
> Thanks to the google and the GXP guys for sending us the code

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to