Rectangle 27 0

jsf 2 Using Primefaces 5, should I be able to *dynamically* build a simple p:menu containing only menuitems ...i.e., without submenu(s)?


I had the same error and solved it by setting a numerical id for every MenuItem. e.g. item.setId("1");

Note