Examples of writeComponentClass()


Examples of org.apache.myfaces.tobago.webapp.TobagoResponseWriter.writeComponentClass()

    TobagoResponseWriter writer
        = (TobagoResponseWriter) facesContext.getResponseWriter();

    writer.startElement(HtmlConstants.INPUT, component);
    writer.writeAttribute(HtmlAttributes.TYPE, "file", null);
    writer.writeComponentClass();
    if (!ClientProperties.getInstance(facesContext).getUserAgent().isMozilla()) {
      writer.writeAttribute(HtmlAttributes.STYLE, null, ATTR_STYLE);
    }
    writer.writeNameAttribute(clientId);
    writer.writeIdAttribute(clientId);
View Full Code Here

Examples of org.apache.myfaces.tobago.webapp.TobagoResponseWriter.writeComponentClass()

        = (String) component.getAttributes().get(ATTR_LABEL);

    TobagoResponseWriter writer = (TobagoResponseWriter) facesContext.getResponseWriter();

    writer.startElement(HtmlConstants.FIELDSET, component);
    writer.writeComponentClass();
    writer.writeAttribute(HtmlAttributes.STYLE, null, ATTR_STYLE);

    if (label != null || labelString != null) {
      writer.startElement(HtmlConstants.LEGEND, component);
      writer.writeComponentClass();
View Full Code Here

Examples of org.apache.myfaces.tobago.webapp.TobagoResponseWriter.writeComponentClass()

    writer.writeComponentClass();
    writer.writeAttribute(HtmlAttributes.STYLE, null, ATTR_STYLE);

    if (label != null || labelString != null) {
      writer.startElement(HtmlConstants.LEGEND, component);
      writer.writeComponentClass();

      writer.startElement(HtmlConstants.B, null);
      writer.writeText("", null);
      if (label != null) {
        RenderUtil.encode(facesContext, label);
View Full Code Here

Examples of org.apache.myfaces.tobago.webapp.TobagoResponseWriter.writeComponentClass()

      }
    }

    String clientId = component.getClientId(facesContext);
    writer.startElement(HtmlConstants.DIV, component);
    writer.writeComponentClass();
    writer.writeIdAttribute(clientId);
    if (style != null) {
      writer.writeAttribute(HtmlAttributes.STYLE, style, null);
    }
    HtmlRendererUtil.writeJavascript(writer,
View Full Code Here

Examples of org.apache.myfaces.tobago.webapp.TobagoResponseWriter.writeComponentClass()

    UITreeNode root = tree.getRoot();

    TobagoResponseWriter writer = (TobagoResponseWriter) facesContext.getResponseWriter();

    writer.startElement("div", tree);
    writer.writeComponentClass();
    writer.writeAttribute("style", null, ATTR_STYLE);

    writer.startElement("input", tree);
    writer.writeAttribute("type", "hidden", null);
    writer.writeNameAttribute(clientId);
View Full Code Here

Examples of org.apache.myfaces.tobago.webapp.TobagoResponseWriter.writeComponentClass()

    writer.startElement("table", tree);
    writer.writeAttribute("cellpadding", "0", null);
    writer.writeAttribute("cellspacing", "0", null);
    writer.writeAttribute("border", "0", null);
    writer.writeAttribute("summary", "", null);
    writer.writeComponentClass();
    writer.startElement("tr", null);
    writer.startElement("td", null);
    writer.writeIdAttribute(clientId + "-cont");
    writer.writeComment("placeholder for treecontent");
    writer.endElement("td");
View Full Code Here

Examples of org.apache.myfaces.tobago.webapp.TobagoResponseWriter.writeComponentClass()


    TobagoResponseWriter writer = (TobagoResponseWriter) facesContext.getResponseWriter();
    writer.startElement("table", layout);
    writer.writeAttribute("border", null, ATTR_BORDER);
    writer.writeComponentClass();
    writer.writeAttribute("style", null, ATTR_LAYOUT_TABLE_STYLE);
    writer.writeAttribute("cellspacing", "0", null);
    writer.writeAttribute("cellpadding", "0", null);
    writer.writeAttribute("summary", "", null);
View Full Code Here

Examples of org.apache.myfaces.tobago.webapp.TobagoResponseWriter.writeComponentClass()

      String id = clientId + NamingContainer.SEPARATOR_CHAR
          + NamingContainer.SEPARATOR_CHAR + item.getValue().toString();

      writer.startElement("input", component);
      writer.writeAttribute("type", "radio", null);
      writer.writeComponentClass();
      if (item.getValue().equals(value)) {
        writer.writeAttribute("checked", "checked", null);
      }
      writer.writeNameAttribute(clientId);
      writer.writeIdAttribute(id);
View Full Code Here

Examples of org.apache.myfaces.tobago.webapp.TobagoResponseWriter.writeComponentClass()

      if (onclick != null) {
        writer.writeAttribute("onclick", onclick, null);
      }
      writer.writeAttribute("target", null, ATTR_TARGET);
    }
    writer.writeComponentClass();
    writer.writeIdAttribute(clientId);
    writer.writeNameAttribute(clientId);
    writer.writeAttribute("title", null, ATTR_TIP);

    //TODO: check if this is still needed
View Full Code Here

Examples of org.apache.myfaces.tobago.webapp.TobagoResponseWriter.writeComponentClass()

    // TODO move into labelLayout ?
    createClassAttribute(component);
    TobagoResponseWriter writer = (TobagoResponseWriter) facesContext.getResponseWriter();

    writer.startElement("div", output);
    writer.writeComponentClass();   
    writer.writeAttribute("style", null, ATTR_STYLE);
    writer.startElement("a", output);
    writer.writeComponentClass();
    writer.startElement("label", output);
    String clientId = output.getClientId(facesContext);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.