Bind a Content View definition to a particular Action Seam
Excuse my extreme newbieness,
Can someone explain me how can I define a Content View that activates only when I click a certain button in Nuxeo IDE?
I've followed this page and defined a content view. http://doc.nuxeo.com/display/NXDOC/Content+views
Now if I reload the project on the server that view is applied to every page. I would like it to apply only when I click something on a
thanks in advance.
I've understood that the line
<contentView name="document_content"> (see the URL above) overrides the default document view and so it is called everywhere. If i change the name to something else the custom view is no longer called. Now, how should I call that content view from the xml contribution of an Action Seam, so this is called only when I want to (when I press a button or click a tab)?
I want a tab or a button in my interface that, if clicked, shows me all the documents in the DM that match a certain criteria (for example: all the documents older than 1 year). I noticed that I can filter content defining a NXQL query inside a content view and I made a test following the example on the link above. It works but the content view is called as the default one. I don't know if it's possible (and if it's not please suggest me another workflow) to show that content view, with the custom query only when the user clicks a button, and the default "folderish" content view in all the other cases. Can you help me?