As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Hi ! /> I have recently made the update from Nuxeo 5.8 to Nuxeo 6.0. Before that when I changed of tab on the virtual navigation, I was redirected to the root document of the tree. To do that I overriden the tree_explorer_with_virtual_navigation.xhtml and modified the action called. It looked like this: /> public String setSelectedNavigationTreeAndNavigate(final String selectedNavigationTree) { super.setSelectedNavigationTree(selectedNavigationTree); try { return navigateToFirstChild(selectedNavigationTree); } catch (final ClientException e) { // raf } return null; } /> But the Nuxeo 6.0 changes everything and I don't know how to do that again. /> Have you an idea ?
public String setSelectedNavigationTreeAndNavigate(final String selectedNavigationTree) { super.setSelectedNavigationTree(selectedNavigationTree); try { return navigateToFirstChild(selectedNavigationTree); } catch (final ClientException e) { // raf } return null; }
I try to use the method onCurrentTreeChange(String category, String tabId) from MultiNavTreeManager to redirect. I try with the navigationContextBean, with the operation Navigate or with the OperationHelper.getWebActions().setCurrentTabAndNavigate() method but it doesn't work. Does it come from the fact that the type of the method is void ? Should I try from the xhtml files ?