Examples of UIXRenderingContext


Examples of org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext

   * the characters in this string.
   */
  public static String hyphenate(UIImplicitObject uix,
                                 String text, String breakChars)
  {
    UIXRenderingContext rc = uix.getRenderingContext();
    int agentApp = rc.getAgent().getAgentApplication();


    // bug 3364275
    // possible characters to use to indicate to the browser where it is safe
    // to break a line:
View Full Code Here

Examples of org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext

  {
    // Make sure we have a name
    if (name != null)
    {
      // Get the Icon from the Skin
      UIXRenderingContext context = uix.getRenderingContext();
      RenderingContext arc = RenderingContext.getCurrentInstance();
      FacesContext fContext = context.getFacesContext();
      Skin skin = context.getSkin();
      Icon icon = skin.getIcon(name);

      Object uri = icon.getImageURI(fContext, arc);

      if (uri != null)
View Full Code Here

Examples of org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext

    throws IOException
  {
    if (!getRendersChildren())
    {
      UIXComponentUINode adapter = UIXComponentUINode.__getAdapter(component);
      UIXRenderingContext rContext = getRenderingContext(context, component);
      adapter.prerenderInternal(rContext, adapter);
    }
  }
View Full Code Here

Examples of org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext

  public void encodeEnd(FacesContext context,
                        UIComponent component)
    throws IOException
  {
    UIXComponentUINode adapter = UIXComponentUINode.__getAdapter(component);
    UIXRenderingContext rContext = getRenderingContext(context, component);

    if (getRendersChildren())
    {
      adapter.renderInternal(rContext, adapter);
    }
View Full Code Here

Examples of org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext

  static protected UIXRenderingContext getRenderingContext(
    FacesContext context,
    UIComponent  component,
    boolean      createIfNull) throws IOException
  {
    UIXRenderingContext rContext = __getRenderingContext(context);

    if (rContext == null && createIfNull)
    {
      FacesRenderingContext frContext =
        FacesRenderingContext.createRenderingContext(context);
View Full Code Here

Examples of org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext

    UIXRenderingContext rContext)
  {
    if (rContext == null)
      throw new NullPointerException();

    UIXRenderingContext oldContext = __getRenderingContext(fContext);
    if (oldContext == rContext)
      return null;

    fContext.getExternalContext().getRequestMap().put(_CONTEXT_KEY, rContext);
    return oldContext;
View Full Code Here

Examples of org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext

  {
    _LOG.finest("CorePanelRadioRenderer.renderRadioFacet: " +
                "disclosedChildId: {0}" + disclosedChildId);

    // This renders the select controls alongwith javascript onchange handler.
    UIXRenderingContext rCtx = getRenderingContext(context, component);

    String compId = component.getClientId(context);

    URLEncoder encoder = rCtx.getURLEncoder();
    ResponseWriter out = context.getResponseWriter();

    // draw table to contain the select UI control
    out.startElement("table", component);
    out.writeAttribute("id", compId + _RADIO_TABLE_SUFFIEX_ID_CONST, null);
View Full Code Here

Examples of org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext

                compId);

    out.startElement("div", component);
    out.writeAttribute("id", compId, null);

    UIXRenderingContext rCtx = getRenderingContext(context, component);

    String styleClass = (String) component.getAttributes().get("styleClass");
    RenderingContext arc = RenderingContext.getCurrentInstance();
    if (styleClass != null)
    {
View Full Code Here

Examples of org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext

    TreeWalker       walker,
    Object           value,
    PathImpl         path,
    boolean          renderedOnly) throws IOException
  {
    UIXRenderingContext childContext =
      _getChildRenderingContext(context, ancestor);

    // Walk the indexed children
    int count = ancestor.getIndexedChildCount(context);
    for(int i = 0; i < count; i++)
View Full Code Here

Examples of org.apache.myfaces.trinidadinternal.ui.UIXRenderingContext

   */
  public Object getValue(
    UIXRenderingContext context
    )
  {
    UIXRenderingContext parentContext = context.getParentContext();
   
    if (parentContext != null)
    {
      // Get the target value - using the ORIGINAL context,
      // not the parent context.
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.