I am trying to understand how backoffice customization works for custom tree nodes in explorer tree.
As an example I have following entry in *-backoffice--config:
... <context component="explorer-tree" merge-by="module" module="hybrisbackoffice" > <explorer-tree:explorer-tree....> <explorer-tree:navigation-node id="hmc_treenode_order"> <explorer-tree:navigation-node id="myId"/> </explorer-tree:navigation-node> </explorer-tree:explorer-tree> ...
The code above will add a new navigation node entry in the explorer tree in backoffice as a child node under the orders node. On the otherhand I have instantiated a widget called cte-occ-container by declaring it in the *-backoffice-widgets.xml as following:
<widget id="cte-occ-coll-container" widgetDefinitionId="com.hybris.cockpitng.collapsiblecontainer" slotId="cockpitWidgetChildrenInvisible" template="true" title="my title"> <widget id="cte-occ-advanced-search" widgetDefinitionId="com.hybris.cockpitng.advancedsearch" slotId="center" title="" template="false"> ... </widget> </widget> ...
My question is: What does make the link between the node and the widget. How will the widget be invoked and displayed on click to the node?
Thank you very much in advance.