I don't think that should be necessary.  It seems weird that that
would be a limitation.

On Mar 31, 2005 10:15 PM, Sean Schofield <[EMAIL PROTECTED]> wrote:
> One of our users was trying to using their own extended version of
> tree2.  In their faces-config.xml (their version, not the default one
> in the jar) they had the following ...
> 
>  <component>
>    <component-type>org.apache.myfaces.HtmlTree2</component-type>
>    <component-class>org.objectsource.ui.UITree</component-class>
>  </component>
> 
> So basically he was just replacing the component class for tree2.
> When he tried to use tree2 in a page he got just a blank page.
> 
> Once he added the following everything worked fine ...
> 
>  <renderer>
>    <component-family>org.apache.myfaces.HtmlTree2</component-family>
>    <renderer-type>org.apache.myfaces.HtmlTree2</renderer-type>
>    
> <renderer-class>org.apache.myfaces.custom.tree2.HtmlTreeRenderer</renderer-class>
>  </renderer>
> 
> This is the *same* renderer block as in the default faces-config.xml
> that is inside the jar.  The user is reporting that MyFaces is
> requiring the renderer to specified in the user's faces-config.xml
> file if the component is overridden there.
> 
> Is that true?  If so, is that a MyFaces bug/limitation or is that in
> the specification somewhere?
> 
> sean
> 


-- 
-Heath Borders-Wing
[EMAIL PROTECTED]

Reply via email to