Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-431

DocumentHead and DocumentBody define wrong default renderer types

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1.1, 1.1.3-SNAPSHOT
    • 1.1.3
    • None
    • None

    Description

      DocumentBody and DocumentHead use DocumentRenderer as default renderer, which is wrong:

      public class DocumentBody extends AbstractDocument
      {
      public static final String COMPONENT_TYPE = "org.apache.myfaces.DocumentBody";
      private static final String DEFAULT_RENDERER_TYPE = DocumentRenderer.RENDERER_TYPE;

      public DocumentBody()

      { super(DEFAULT_RENDERER_TYPE); }
      }
      public class DocumentHead extends AbstractDocument
      {
      public static final String COMPONENT_TYPE = "org.apache.myfaces.DocumentHead";
      private static final String DEFAULT_RENDERER_TYPE = DocumentRenderer.RENDERER_TYPE;

      public DocumentHead()
      { super(DEFAULT_RENDERER_TYPE); }

      }

      This must be DocumentBodyRenderer and DocumentHeadRenderer respecively.

      Attachments

        Activity

          People

            Unassigned Unassigned
            lexicore Aleksei Valikov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: