cancel
Showing results for 
Search instead for 
Did you mean: 

Getting documentsListsManager in a PageProvider class

adam_bo_
Star Contributor
Star Contributor

I would like to use a documentsListsManager inside a PageProvider class. How can I achieve it ?

Of course, this way does not work:

@In(create = true)
protected transient DocumentsListsManager documentsListsManager;
2 REPLIES 2

Benjamin_Jalon1
Elite Collaborator
Elite Collaborator

I Think You may want to use content view or just the core query (engine that manages queries and manage cache system)

See that here: http://doc.nuxeo.com/display/NXDOC/Content+views You can do it yourself but why invent again the wheel 🙂

Exactly, I try to create a gadget called from outside, where I use lists of documents.