You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Luiz Augusto Ruiz (JIRA)" <my...@incubator.apache.org> on 2005/07/13 19:56:12 UTC
[jira] Created: (MYFACES-332) Error on getting renderer for HtmlTree2
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
[jira] Commented: (MYFACES-332) Error on getting renderer for HtmlTree2
Posted by "sean schofield (JIRA)" <my...@incubator.apache.org>.
[ 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
[jira] Closed: (MYFACES-332) Error on getting renderer for HtmlTree2
Posted by "sean schofield (JIRA)" <my...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/MYFACES-332?page=all ]
sean schofield closed MYFACES-332:
----------------------------------
Fix Version: Nightly Build
Resolution: Fixed
Fixed in nightly build.
> 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
> Fix For: Nightly Build
>
> 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