<pu:menu> doesn't render any submenu
Posted: 10 Nov 2022, 02:59
Neither
or
works using Primefaces 11 with Ultima 6 template.
Im pretty sure that i havent any problem with my MenuModel. I've imported xmlns:pu="http://primefaces.org/ultima". Is there any aditional configuration with UltimaMenu or UltimaMenuRenderer? I did the web.xml theme importations too but neither pu:menu and javascript some menu functions are working.
Code: Select all
<pu:menu>
<p:submenu id="m_favorites" label="Favorites" >
<p:menuitem id="m_dashboardsales" value="Dashboard Sales" icon="pi pi-fw pi-home" url="/ultima/favorites/dashboard.xhtml" badge="4"
badgeStyleClass="ui-badge-info" />
<p:menuitem id="m_dashboardanalytics" value="Dashboard Analytics" icon="pi pi-fw pi-home" url="/ultima/favorites/dashboardanalytics.xhtml" badge="2"
badgeStyleClass="ui-badge-success" />
</p:submenu>
</pu:menu>
Code: Select all
<pu:menu model="#{app.sideMenuModel}" />
Im pretty sure that i havent any problem with my MenuModel. I've imported xmlns:pu="http://primefaces.org/ultima". Is there any aditional configuration with UltimaMenu or UltimaMenuRenderer? I did the web.xml theme importations too but neither pu:menu and javascript some menu functions are working.