super.encodeEnd(context,comp);
	public void encodeEnd(FacesContext context, UIComponent comp)			throws IOException {		WFMenu menu = (WFMenu)comp;				//super.encodeBegin(context,comp);				ResponseWriter out = context.getResponseWriter();				out.startElement("ul", null);		if (menu.getMenuStyleClass() != null) {			out.writeAttribute("class", menu.getMenuStyleClass(), null);		}		out.writeAttribute("id", "" + comp.getId(), null);		//out.startElement("tr", null);		//MenuItems:		Iterator iter = menu.getMenuItemIds().iterator();		while (iter.hasNext()) {			String buttonId = (String) iter.next();			String buttonStyleClass = menu.getDeselectedMenuItemStyleClass();						UIComponent menuItem = menu.getMenuItem(buttonId);			if(menuItem instanceof WFTab){				WFTab tab = (WFTab) menuItem;				if (buttonId.equals(menu.getSelectedMenuItemId())) {					tab.setSelected(true);					buttonStyleClass = menu.getSelectedMenuItemStyleClass();				} else {					tab.setSelected(false);				}			}			if (buttonId.equals(menu.getSelectedMenuItemId())) {				buttonStyleClass = menu.getSelectedMenuItemStyleClass();			} 			out.startElement("li", null);			if (buttonStyleClass != null) {				out.writeAttribute("class", buttonStyleClass, null);			}			renderChild(context,menuItem);			//renderFacet(context,menu, "button_" + buttonId);			out.endElement("li");		}		//out.endElement("tr");		out.endElement("ul");	}