You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "sean schofield (JIRA)" <my...@incubator.apache.org> on 2005/07/25 21:17:38 UTC

[jira] Commented: (MYFACES-332) Error on getting renderer for HtmlTree2

    [ http://issues.apache.org/jira/browse/MYFACES-332?page=comments#action_12316681 ] 

sean schofield commented on MYFACES-332:
----------------------------------------

The code you mention is your own right?  (It doesn't exist in MyFaces.) 

 I see why your code would fail but how things still work for most users.  The TreeTag class specifies the correct component and renderer types and those override what is specified by the component.

> Error on getting renderer for HtmlTree2
> ---------------------------------------
>
>          Key: MYFACES-332
>          URL: http://issues.apache.org/jira/browse/MYFACES-332
>      Project: MyFaces
>         Type: Bug
>     Versions: 1.0.9 beta
>     Reporter: Luiz Augusto Ruiz

>
> In the code:
> Renderer r = rk.getRenderer(comp.getFamily(), comp.getRendererType());
> when comp is a org.apache.myfaces.custom.tree2.HtmlTree the renderer returns null, because comp.getRendererType() is "org.apache.myfaces.Tree2" and the correct is "org.apache.myfaces.HtmlTree2"

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