[EMAIL PROTECTED] a écrit : > Hello, > > I am using the plugin nuxeo-platform-virtualnavigation-5.2.jar, and need to > customize it : I need to have control on the query that is processed when you > click, for example on "Europe" / "Italy". > > The source code of the plugin holds only two java classes, but they only seem > to handle appearance. > There is also the file tree_explorer_with_virtual_nav.xhtml that includes > single_directory_tree_explorer.xhtml (injecting var treeModel). > In the latter file, I see that when the user click on "Europe" / "France", > the action thrown is via a commandLink button that raises action > "node.selectNode()". > > My investigations have stopped here, I cannot find where the source code > dealing with the query processed is.
This is handled by a stateful query model on dublincore fields such as coverage (if I remember correctly). The configuration of the contribution to the DirectoryTreeManager extension point should give you the name of the QueryModel used to build the query and then you can find it's definition contributed to the QueryModel extension point in some OSGI-INF/ folder (either directly in the nuxeo-platform-virtualnavigation project or in one the default nuxeo project such as webapp-core). -- Olivier _______________________________________________ ECM mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/ecm
