item.setUpdate("growl");
submenu.getChildren().add(item);
item = new MenuItem();
item.setValue("Delete");
item.addActionListener(FacesUtil.createMethodActionListener("#{positionedMenuController.delete}", Void.class,
new Class[] { ActionEvent.class }));
item.setUpdate("growl");
submenu.getChildren().add(item);
model.addSubmenu(submenu);