myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sean schofield (JIRA)" <myfaces-...@incubator.apache.org>
Subject [jira] Commented: (MYFACES-332) Error on getting renderer for HtmlTree2
Date Mon, 25 Jul 2005 19:17:38 GMT
    [ 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


Mime
View raw message