public class MenuPopupRenderer extends XULRenderer {
public void encodeBegin(FacesContext facesContext, UIComponent component) throws IOException {
super.encodeBegin(facesContext,component);
ResponseWriter responseWriter = facesContext.getResponseWriter();
responseWriter.startElement("menupopup",component);
responseWriter.writeAttribute("id",component.getClientId(facesContext), "id");
renderAttributes(facesContext,component,(List) component.getAttributes().get("annotatedAttributes"));
}
public void encodeEnd(FacesContext context, UIComponent component) throws IOException {