Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.1.1, 1.1.3-SNAPSHOT
-
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.