2009/3/8 <[email protected]>

> I'm trying to implement your "MyUpload" but if I put de @Name annotation
> restlet don't works and without it navigationContext is null, the problem
> seems to be with:
>
>    @In(create = true)
>    protected NavigationContext navigationContext;
>
> Is needed any parameter in the restlets-contrib.xml to make the injection
> work?
>

You can use restAPI-contrib.xml as an example. It is the default nuxeo 5
restlet contrib. You can see that it uses a useSeam and  useConversation
attribute:

http://hg.nuxeo.org/nuxeo/nuxeo-platform/file/37364599c09b/nuxeo-platform-ui-web/src/main/resources/OSGI-INF/restAPI-contrib.xml

alex
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to