Package org.apache.myfaces.trinidadinternal.ui

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


  private Renderer _getRenderer(
    UIXRenderingContext context,
    UINode           node)
  {
    RendererManager manager = context.getRendererManager();
    String localName = getLocalName(context, node);
    Renderer renderer = manager.getRenderer(node.getNamespaceURI(), localName);
    if (renderer == null)
      _LOG.severe("Could not find renderer for alias " + localName);

    return renderer;
  }
View Full Code Here


   * Creates a new RendererManager for a particular facet of
   * this LookAndFeel.
   */
  public RendererManager createRendererManager(String facet)
  {
    RendererManager rendererManager = new RendererManager(facet);
    rendererManager.registerFactory(MARLIN_NAMESPACE, getFactory(facet));
    return rendererManager;
  }
View Full Code Here

  private void _logNoRenderer(UIXRenderingContext context)
  {
    if (_LOG.isWarning())
    {
      RendererManager manager = context.getRendererManager();
      RendererFactory factory = manager.getFactory(getNamespaceURI());

      if (factory == null)
      {
        _LOG.warning("No RendererFactory registered for components in namespace"
                     + getNamespaceURI());
View Full Code Here

    UIXRenderingContext context,
    UINode           dataNode
    )
  {
    // get the renderer for ourselves
    RendererManager manager = context.getRendererManager();
    String localName = getLocalName();
    if (localName == null)
      return null;

    return manager.getRenderer(getNamespaceURI(), localName);
  }
View Full Code Here

    if (facet == null)
      facet = UIConstants.FACET_DEFAULT;

    // Check to see if we already have a RendererManager
    // for the specified facet.
    RendererManager manager = (RendererManager)ArrayMap.get(_rendererManagers,
                                                            facet);

    if (manager == null)
    {
      // If we don't already have a RendererManager, check to
View Full Code Here

  }

  @Override
  public RendererManager createRendererManager(String facet)
  {
    RendererManager manager = super.createRendererManager(facet);

    // register the html factory - do the same thing for all facets
    HTMLRendererFactory.registerSelf(manager);
    return manager;
  }
View Full Code Here

  }

  @Override
  public RendererManager createRendererManager(String facet)
  {
    RendererManager manager = super.createRendererManager(facet);

    // register the html factory - do the same thing for all facets
    HTMLRendererFactory.registerSelf(manager);
    return manager;
  }
View Full Code Here

  private void _logNoRenderer(UIXRenderingContext context)
  {
    if (_LOG.isWarning())
    {
      RendererManager manager = context.getRendererManager();
      RendererFactory factory = manager.getFactory(getNamespaceURI());

      if (factory == null)
      {
        _LOG.warning("NO_RENDERERFACTORY_REGISTERED_COMPONENT", getNamespaceURI());
      }
View Full Code Here

    UIXRenderingContext context,
    UINode           dataNode
    )
  {
    // get the renderer for ourselves
    RendererManager manager = context.getRendererManager();
    String localName = getLocalName();
    if (localName == null)
      return null;

    return manager.getRenderer(getNamespaceURI(), localName);
  }
View Full Code Here

    if (facet == null)
      facet = UIConstants.FACET_DEFAULT;

    // Check to see if we already have a RendererManager
    // for the specified facet.
    RendererManager manager = (RendererManager)ArrayMap.get(_rendererManagers,
                                                            facet);

    if (manager == null)
    {
      // If we don't already have a RendererManager, check to
View Full Code Here

TOP

Related Classes of org.apache.myfaces.trinidadinternal.ui.RendererManager

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.