You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Mario Ivankovits (JIRA)" <de...@myfaces.apache.org> on 2006/05/11 18:27:05 UTC

[jira] Commented: (TOMAHAWK-431) DocumentHead and DocumentBody define wrong default renderer types

    [ http://issues.apache.org/jira/browse/TOMAHAWK-431?page=comments#action_12379095 ] 

Mario Ivankovits commented on TOMAHAWK-431:
-------------------------------------------

No, not yet committed as our svn is dead currently.

Will commit as soon as possible.

> 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