i need to see the tree in the dashboard. i have the idea to create my own widget type using the template /incl/directory_tree_explorer.xhtml (i think thats the tree´s template if i am wrong, please tell me)
here is the code how i am doing it
all is in the layouts-dashboard-contrib.xml on nuxeo-user-dashboard-jsf.jar
<extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
point="layouts">
<layout name="grid_dashboard_layout">
<templates>
<template mode="any">
/layouts/layout_grid_template.xhtml
</template>
</templates>
<rows>
<row>
<properties mode="any">
<property name="nxl_gridStyleClass_0">gridStyle6</property>
<property name="nxl_gridStyleClass_1">gridStyle6</property>
</properties>
<widget>dashboard_left</widget>
<widget>dashboard_right</widget>
<widget>arbol_widget</widget>
</row>
</rows>
</layout>
and then i create the widget
<extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
point="widgettypes">
<widgetType name="arbol_widget_type">
<handler-class>
org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
</handler-class>
<property name="template">
/incl/directory_tree_explorer.xhtml
</property>
</widgetType>
<widget name="arbol_widget" type="arbol_widget_type">
<labels>
<label mode="any"></label>
</labels>
<properties widgetMode="any">
<property name="category">DASHBOARD_RIGHT</property>
</properties>
<fields>
<field>arbol_widget:directoryTreeNav</field>
</fields>
<properties widgetMode="any">
<property name="template">/incl/directory_tree_explorer.xhtml</property>
</properties>
</widget>
i´ll appreciate if someone help me
thanks 😉