<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Expand tree node all the way down in the ADF Faces Tree Component</title>
	<atom:link href="http://technology.amis.nl/2006/08/17/expand-tree-node-all-the-way-down-in-the-adf-faces-tree-component/feed/" rel="self" type="application/rss+xml" />
	<link>http://technology.amis.nl/2006/08/17/expand-tree-node-all-the-way-down-in-the-adf-faces-tree-component/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=expand-tree-node-all-the-way-down-in-the-adf-faces-tree-component</link>
	<description></description>
	<lastBuildDate>Tue, 11 Jun 2013 22:09:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Ric Smith</title>
		<link>http://technology.amis.nl/2006/08/17/expand-tree-node-all-the-way-down-in-the-adf-faces-tree-component/#comment-3770</link>
		<dc:creator>Ric Smith</dc:creator>
		<pubDate>Wed, 30 Aug 2006 08:57:24 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=1313#comment-3770</guid>
		<description><![CDATA[You need to override the isContainer method in your ChildPropertyTreeModel so that you actually display the leaf nodes. At the moment you are only displaying containers.

        // create the list of root nodes:
        List nodes = new ArrayList();
        nodes.add(zoo);
        zooTreeModel = new ChildPropertyTreeModel(nodes, &quot;children&quot;){
            public boolean isContainer(){
                return ((GenericZooNode)getRowData()).getChildCount() &gt; 0;
            }

        };]]></description>
		<content:encoded><![CDATA[<p>You need to override the isContainer method in your ChildPropertyTreeModel so that you actually display the leaf nodes. At the moment you are only displaying containers.</p>
<p>        // create the list of root nodes:<br />
        List nodes = new ArrayList();<br />
        nodes.add(zoo);<br />
        zooTreeModel = new ChildPropertyTreeModel(nodes, &#8220;children&#8221;){<br />
            public boolean isContainer(){<br />
                return ((GenericZooNode)getRowData()).getChildCount() &gt; 0;<br />
            }</p>
<p>        };</p>
]]></content:encoded>
	</item>
</channel>
</rss>
