[ http://issues.apache.org/jira/browse/TOMAHAWK-431?page=all ]
     
Mario Ivankovits resolved TOMAHAWK-431:
---------------------------------------

    Fix Version: 1.1.3-SNAPSHOT
     Resolution: Fixed

Thanks for pointing it out!

Its fixed in svn head now.

> DocumentHead and DocumentBody define wrong default renderer types
> -----------------------------------------------------------------
>
>          Key: TOMAHAWK-431
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-431
>      Project: MyFaces Tomahawk
>         Type: Bug

>     Versions: 1.1.1, 1.1.3-SNAPSHOT
>     Reporter: Aleksei Valikov
>     Priority: Minor
>      Fix For: 1.1.3-SNAPSHOT

>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to