Package org.apache.myfaces.tobago.component

Examples of org.apache.myfaces.tobago.component.UIMenuBar


public class MenuBarRenderer extends LayoutComponentRendererBase {

  @Override
  public void encodeBegin(FacesContext facesContext, UIComponent component) throws IOException {

    UIMenuBar menuBar = (UIMenuBar) component;
    TobagoResponseWriter writer = HtmlRendererUtils.getTobagoResponseWriter(facesContext);

    writer.startElement(HtmlElements.OL, menuBar);
    writer.writeClassAttribute(Classes.create(menuBar));
    Style style = new Style(facesContext, menuBar);
View Full Code Here


    } else if (labelString != null) {
      writer.writeText(labelString);
    }
    writer.endElement(HtmlElements.DIV);

    final UIMenuBar menuBar = getMenuBarFacet(box);
    if (menuBar != null) {
      RenderUtils.encode(facesContext, menuBar);
    }

    UIPanel toolbar = (UIPanel) box.getFacet(Facets.TOOL_BAR);
View Full Code Here

TOP

Related Classes of org.apache.myfaces.tobago.component.UIMenuBar

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.