Articles

To get MenuBar label value in Backing Bean using primefaces

January 26, 2013 at 01:18:14
Specs: Windows 7

<p:menubar>
<p:submenu label="Process" icon="ui-icon-home"
style="font-size:10pt;">
<p:menuitem value="Data Report" icon="ui-icon-contact"
url="DataReport.xhtml" id="DataExport"/>
<p:submenu label="Charts" icon="ui-icon-star">
<p:menuitem value="Bar Graph" url="BarChart.xhtml" id="BarChart"/>
</p:submenu>
</p:submenu>
</p:menubar>


Here is the code which is in Process.xhtml . We have a "Process" menubar under which we have "Data Report" and "Charts" as subMenuBars We need the label name "Process" in backing bean when we click on either DataReport or Charts


See More: To get MenuBar label value in Backing Bean using primefaces

Reply ↓  Report •

Related Solutions


Ask Question