Getting documentsListsManager in a PageProvider class

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;
0 votes

1 answers

1213 views

ANSWER



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 :)

0 votes



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

I will analyse your solution. Thanks.

11/25/2012