I don't know why, but if I didn't add the renderer element to my app's faces-
config.xml I got an empty page. I didn't have to extend HtmlRenderer, I just 
had to 
add the element to my app's faces-config.xml. I remember reading somewhere 
about the 
faces-config.xml inheritance model and it said it looks in the jar first, then 
your 
app's, which can override what is in the jar. But apparently you can't just 
override a 
component without overriding the renderer too (unless it's bug).

My tree component works though.

--
Rob

@objectsource.org


---------- Original Message -----------
From: Sean Schofield <[EMAIL PROTECTED]>
To: MyFaces Discussion <[email protected]>
Sent: Thu, 31 Mar 2005 11:33:39 -0500
Subject: Re: extending tree2

> > Although the renderer descriptor is verbatim from the myfaces 
> > faces-config.xml 
when I
> > didn't have it in my app's faces-config.xml nothing was rendered.
> 
> Huh?  If you did not specify your own renderer, etc. in *your*
> faces-config.xml then you should still have been able to render your
> tree using the tree2 and renderer that ships with myfaces.  If not
> then there was likely some other problem going on.
> 
> So were you successful in providing your own tree component once you
> got this squared away?
> 
> > Rob
> 
> sean
------- End of Original Message -------

Reply via email to