Have you tried using tree2 in combination w/ f:verbatim and t:htmlTag ? Dennis Byrne
>-----Original Message----- >From: Behrang Saeedzadeh [mailto:[EMAIL PROTECTED] >Sent: Saturday, August 26, 2006 04:26 AM >To: 'MyFaces Discussion' >Subject: Flexible Tree Component > >Hi, > >I want a flexible JSF tree component. For example, I want to be able >to have something like this: > ><comp:tree var="n" value="model.tree"> > <f:facet name="node"> > <div style="border: 1px solid gray"> > <b><h:outputText value="#{n.name}" /></b> > <hr /> > <i><h:outputText value="#{n.position}" /></i> > </div> > </f:facet> ></comp:tree> > >In essence, I want to be able to set a snippet of HTML code to be >rendered per node according to the current node's var. Current tree >implementations that I have seen only support single-line renderers. > >Does anybody know of such a tree component? > >Thanks in advance, >Behi > >-- >"We can only see a short distance ahead, >but we can see plenty there >that needs to be done." - Alan Turing > >"Science is a differential equation. Religion >is a boundary condition" - Alan Turing > >Behrang Saeedzadeh >http://www.jroller.com/page/behrangsa >http://my.opera.com/behrangsa >