How to handle this?
Note: In diamond v1.20 the submenu automatically stays open when I click it. This problem appeared after I updated to diamond v2.0.
This is my code:
Code: Select all
<d:menu widgetVar="diamondMenuWidget">
<p:submenu id="db" label="Database" icon="pi pi-book" >
<p:submenu id="member" label="Members" icon="pi pi-users" >
<p:menuitem id="all_member" value="All Member" icon="pi pi-user" outcome="/member/memberList"/>
<p:menuitem id="sel_member" value="Selected Member" icon="pi pi-user" outcome="/member/selMember"/>
</p:submenu>
</p:submenu>
</d:menu>