Examples of writeComponentClass()


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

    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);
    writer.writeIdAttribute(clientId);
    if (forValue != null) {
      writer.writeAttribute("for", forValue, null);
View Full Code Here

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

    String clientId = output.getClientId(facesContext);
    writer.writeIdAttribute(clientId);
    if (forValue != null) {
      writer.writeAttribute("for", forValue, null);
    }
    writer.writeComponentClass();
    if (width != null) {
      writer.writeAttribute("style", "width: " + width + "px;", null);
    }
    writer.writeAttribute("title", null, ATTR_TIP);
   
View Full Code Here

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

    if (!suppressContainer) {
      setToolBarHeight(facesContext, uiComponent);

      writer.startElement("div", toolbar);
      writer.writeIdAttribute(toolbar.getClientId(facesContext));
      writer.writeComponentClass();
      writer.writeAttribute("style", null, ATTR_STYLE);
      writer.startElement("div", toolbar);
      writer.writeClassAttribute("tobago-toolbar-div-inner");
    }
View Full Code Here

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

      page.getOnloadScripts().add("tbgTreeStates('" + clientId + "')");
    }
    TobagoResponseWriter writer
        = (TobagoResponseWriter) facesContext.getResponseWriter();
    writer.startElement("div", tree);
    writer.writeComponentClass();
    writer.writeAttribute("style", null, ATTR_STYLE);

    String value = ";";
    List<UITreeNode> expandPath = tree.getExpandPath();
    for (UITreeNode node : expandPath) {
View Full Code Here

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

    writer.startElement("input", component);
    writer.writeAttribute("type", "checkbox", null);
    writer.writeAttribute("value", "true", null);
    writer.writeAttribute("checked", checked);
    writer.writeNameAttribute(component.getClientId(facesContext));
    writer.writeComponentClass();
    writer.writeIdAttribute(component.getClientId(facesContext));
    writer.writeAttribute("disabled",
        ComponentUtil.getBooleanAttribute(component, ATTR_DISABLED));
    writer.writeAttribute("title", null, ATTR_TIP);
    writer.endElement("input");
View Full Code Here

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

          + item.getValue().toString();

      writer.startElement("input", component);
      writer.writeAttribute("type", "checkbox", null);

      writer.writeComponentClass();
      writer.writeAttribute("checked",
          RenderUtil.contains(values, item.getValue()));
      writer.writeNameAttribute(id);
      writer.writeIdAttribute(itemId);
      String formattedValue
View Full Code Here

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

    writer.writeNameAttribute(clientId);
    writer.writeIdAttribute(clientId);
    writer.writeAttribute("disabled",
        ComponentUtil.getBooleanAttribute(component, ATTR_DISABLED));
    writer.writeAttribute("style", null, "style");
    writer.writeComponentClass();
    writer.writeAttribute("multiple", "multiple", null);
    writer.writeAttribute("title", null, ATTR_TIP);

    Object[] values = component.getSelectedValues();
    if (LOG.isDebugEnabled()) {
View Full Code Here

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

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

    writer.startElement("input", component);
    writer.writeAttribute("type", "file", null);
    writer.writeComponentClass();
    if (!ClientProperties.getInstance(facesContext).getUserAgent().isMozilla()) {
      writer.writeAttribute("style", null, ATTR_STYLE);
    }
    writer.writeNameAttribute(clientId);
    writer.writeIdAttribute(clientId);
View Full Code Here

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

    writer.writeAttribute("onload",
        "Tobago.init('" + clientId + "');", null);
//    writer.writeAttribute("onunload", "Tobago.onexit();", null);
    //this ist for ie to prevent scrollbars where none are needed
    writer.writeAttribute("scroll", "auto", null);
    writer.writeComponentClass();
    writer.writeIdAttribute(clientId);

    if (debugMode) {
      final String[] jsFiles = new String[] {
          "script/effects.js",
View Full Code Here

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

    contentStyle.append(top != null ? top : "50");
    contentStyle.append("; ");

    writer.startElement("div", component);
    writer.writeIdAttribute(clientId);
    writer.writeComponentClass();
    writer.writeAttribute("onclick", "Tobago.popupBlink('" + clientId + "')", null);
    if (ClientProperties.getInstance(facesContext).getUserAgent().isMsie()) {
      String bgImage = ResourceManagerUtil.getImageWithPath(facesContext, "image/popupBg.png");
      writer.writeAttribute("style", "background: none; "
          + "filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"
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.