|
Hi, I have developed my own nuxeo component exposed as service with my "nuxeo ide", but it is not injected in the bean action where it is used. I have this files in my plugin: component xml:
code in MyService:
code in interface:
in myActionBean:
this error message is showed: @In attribute requires non-null value: myActionBean.myManager Caused by: org.jboss.seam.RequiredException: @In attribute requires non-null value: |
|
|
You need to use the Seam Service Bean wizard. It will expose your service as a seam component. |
|
|
Thanks doguin but "Seam Service Bean Wizard" is part of "seam plugin" for eclipse or it is part of Nuxeo Plugin? because I do not see it in my ide nuxeo. Anyway, I have resolved this problem developing a seam component that initializes my service using nuxeo api.
(May 31 '12 at 17:08)
murkein
You did exactly what the wizard does :) I was talking about the Nuxeo IDE wizard called Service Bean under the seam category.
(May 31 '12 at 17:12)
Laurent Doguin ♦♦
uhmm ok, excellent. I going to review well those ide options. I have been reading this: Service Bean: This is a simple service wrapper that allow to inject a Nuxeo Runtime service as a Seam component. -> src/main/seam/packagePath/MyServiceWrapperBean.java all what you said http://doc.nuxeo.com/display/IDEDOC/Wizard+Index :)
(May 31 '12 at 20:24)
murkein
|
|
