this.getFacets().put("menuitem_"+menuItemId,menuItemComponent);
String menuItemFacetKey = "menuitem_"+menuItemId; this.getFacets().put(menuItemFacetKey,menuItemComponent); String itemId = menuItemComponent.getId(); if(itemId==null){ String thisId = this.getId(); if(thisId!=null){ itemId = thisId+menuItemFacetKey; menuItemComponent.setId(itemId); } }
	public void setMenuItem(String menuItemId,UIComponent menuItemComponent){		/*getMenuItemIds().add(menuItemId);		if (getSelectedMenuItemId() == null) {			setSelectedMenuItemId(menuItemId);		}*/		if(!getMenuItemIds().contains(menuItemId)){			getMenuItemIds().add(menuItemId);		}		this.getFacets().put("menuitem_"+menuItemId,menuItemComponent);		//this.getFacets().put("button_"+menuItemId,menuItemComponent);	}