Examples of renderIcon()


Examples of org.apache.myfaces.trinidad.skin.Icon.renderIcon()

          // The span is written out here because the writer needs to see the UIComponent.
          ResponseWriter writer = context.getResponseWriter();
          writer.startElement("span", node.getUIComponent());
          RenderingContext arc = RenderingContext.getCurrentInstance();
          FacesContext fContext = context.getFacesContext();
          icon.renderIcon(fContext, arc, _getNodeAttributeMap(context, node));
          writer.endElement("span");
        }
      }
    }
  }
View Full Code Here

Examples of org.apache.myfaces.trinidad.skin.Icon.renderIcon()

          rw.startElement("span", comp);
          renderId(context, comp);
          renderAllAttributes(context, arc, bean);
        }
 
        icon.renderIcon(context, arc,
                        _getNodeAttributeMap(context, comp, bean, embed));
        if (embed)
          rw.endElement("span");
      }
    }
View Full Code Here

Examples of org.apache.myfaces.trinidad.skin.Icon.renderIcon()

    Map<String, Object> attrs
    ) throws IOException
  {
    Icon icon = _getIcon(arc);

    icon.renderIcon(context, arc, attrs);
  }

  /**
   * Override of Icon.getImageURI().
   */
 
View Full Code Here

Examples of org.apache.myfaces.trinidad.skin.Icon.renderIcon()

    Map<String, Object> attrs = new ArrayMap<String, Object>(3);

    attrs.put(Icon.ID_KEY, clientId + "::ready");
    attrs.put(Icon.SHORT_DESC_KEY,
              rc.getTranslatedString("af_statusIndicator.READY"));
    readyIcon.renderIcon(context, rc, attrs);

    attrs.put(Icon.INLINE_STYLE_KEY, "display:none");
    attrs.put(Icon.ID_KEY, clientId + "::busy");
    attrs.put(Icon.SHORT_DESC_KEY,
              rc.getTranslatedString("af_statusIndicator.BUSY"));
View Full Code Here

Examples of org.apache.myfaces.trinidad.skin.Icon.renderIcon()

        }

        // inlineStyle, if set, always goes on the span (today)
        renderInlineStyle(context, rc, comp, bean);

        icon.renderIcon(context, rc,
                        _getNodeAttributeMap(context, comp, bean, embed));
        rw.endElement("span");
      }
    }
  }
View Full Code Here

Examples of org.apache.myfaces.trinidad.skin.Icon.renderIcon()

    Map<String, ? extends Object> attrs
    ) throws IOException
  {
    Icon icon = _getIcon(rc);

    icon.renderIcon(context, rc, attrs);
  }

  /**
   * Override of Icon.getImageURI().
   */
 
View Full Code Here

Examples of org.apache.myfaces.trinidad.skin.Icon.renderIcon()

        }

        // inlineStyle, if set, always goes on the span (today)
        renderInlineStyle(context, arc, bean);
 
        icon.renderIcon(context, arc,
                        _getNodeAttributeMap(context, comp, bean, embed));
        rw.endElement("span");
      }
    }
  }
View Full Code Here

Examples of org.apache.myfaces.trinidad.skin.Icon.renderIcon()

        }

        // inlineStyle, if set, always goes on the span (today)
        renderInlineStyle(context, arc, bean);
 
        icon.renderIcon(context, arc,
                        _getNodeAttributeMap(context, comp, bean, embed));
        rw.endElement("span");
      }
    }
  }
View Full Code Here

Examples of org.apache.myfaces.trinidad.skin.Icon.renderIcon()

    Map<String, ? extends Object> attrs
    ) throws IOException
  {
    Icon icon = _getIcon(arc);

    icon.renderIcon(context, arc, attrs);
  }

  /**
   * Override of Icon.getImageURI().
   */
 
View Full Code Here

Examples of org.apache.myfaces.trinidad.skin.Icon.renderIcon()

          // The span is written out here because the writer needs to see the UIComponent.
          ResponseWriter writer = context.getResponseWriter();
          writer.startElement("span", node.getUIComponent());
          RenderingContext arc = RenderingContext.getCurrentInstance();
          FacesContext fContext = context.getFacesContext();
          icon.renderIcon(fContext, arc, _getNodeAttributeMap(context, node));
          writer.endElement("span");
        }
      }
    }
  }
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.