<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Defining a custom label function on a Flex Tree control</title>
	<link>http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/</link>
	<description>A bunch of examples for Adobe Flex and ActionScript</description>
	<pubDate>Tue, 06 Jan 2009 03:53:58 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<item>
		<title>By: abdulrahim</title>
		<link>http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/#comment-16047</link>
		<author>abdulrahim</author>
		<pubDate>Mon, 06 Oct 2008 12:58:45 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/#comment-16047</guid>
		<description>It's very nice tutorial for seperating the node and  subnode value in tree component using lable function</description>
		<content:encoded><![CDATA[<p>It&#8217;s very nice tutorial for seperating the node and  subnode value in tree component using lable function</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manuel</title>
		<link>http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/#comment-15478</link>
		<author>Manuel</author>
		<pubDate>Thu, 11 Sep 2008 11:04:33 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/#comment-15478</guid>
		<description>It's okay, I used the HTML entities as suggested, but something went wrong. I think my description of the workaround should be sufficient for most of you ;) Thanks for your efforts!</description>
		<content:encoded><![CDATA[<p>It&#8217;s okay, I used the HTML entities as suggested, but something went wrong. I think my description of the workaround should be sufficient for most of you ;) Thanks for your efforts!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/#comment-15465</link>
		<author>peterd</author>
		<pubDate>Wed, 10 Sep 2008 20:45:44 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/#comment-15465</guid>
		<description>Manuel,

There shouldn't be a character limit that I know of (certainly none that I've reached). If you want to post code blocks though, you need to convert your &#60; characters to &#38;lt; and your &#62; characters to &#38;gt;, otherwise, "bad things happen".

But I can delete the partial code block if you want...

Peter</description>
		<content:encoded><![CDATA[<p>Manuel,</p>
<p>There shouldn&#8217;t be a character limit that I know of (certainly none that I&#8217;ve reached). If you want to post code blocks though, you need to convert your &lt; characters to &amp;lt; and your &gt; characters to &amp;gt;, otherwise, &#8220;bad things happen&#8221;.</p>
<p>But I can delete the partial code block if you want&#8230;</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manuel</title>
		<link>http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/#comment-15464</link>
		<author>Manuel</author>
		<pubDate>Wed, 10 Sep 2008 20:32:16 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/#comment-15464</guid>
		<description>Noooo :( too much characters, please delete the code in the post...
It's just the following:
I subclassed the DefaultDataDescriptor, overrode  the isBranch() method, iterated through the childList and returned false if child node's localName() was null (e.g. is a CDATA section). Period.</description>
		<content:encoded><![CDATA[<p>Noooo :( too much characters, please delete the code in the post&#8230;<br />
It&#8217;s just the following:<br />
I subclassed the DefaultDataDescriptor, overrode  the isBranch() method, iterated through the childList and returned false if child node&#8217;s localName() was null (e.g. is a CDATA section). Period.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manuel</title>
		<link>http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/#comment-15463</link>
		<author>Manuel</author>
		<pubDate>Wed, 10 Sep 2008 20:27:51 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/#comment-15463</guid>
		<description>YEAH! I got it done by myself :) Here's the code of the overridden DefaultDataDescriptor class. Works great :)
[snip /]</description>
		<content:encoded><![CDATA[<p>YEAH! I got it done by myself :) Here&#8217;s the code of the overridden DefaultDataDescriptor class. Works great :)<br />
[snip /]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manuel</title>
		<link>http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/#comment-15461</link>
		<author>Manuel</author>
		<pubDate>Wed, 10 Sep 2008 19:40:03 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/#comment-15461</guid>
		<description>Yes, the randomly hidden node issue is certainly a bug and I will file it as soon I'll get the time for that. 
Regarding the unwanted display of CDATA tags, I think it is more a missing feature than a bug. Can you perhaps tell me how I could circumvent that odd behavior, e.g. by subclassing the tree item renderer? I just want to exclude the CDATA sections from the tree display, while keeping them in the data provider and being able to access and change them.

Thank you for any hints on how to achieve this!</description>
		<content:encoded><![CDATA[<p>Yes, the randomly hidden node issue is certainly a bug and I will file it as soon I&#8217;ll get the time for that.<br />
Regarding the unwanted display of CDATA tags, I think it is more a missing feature than a bug. Can you perhaps tell me how I could circumvent that odd behavior, e.g. by subclassing the tree item renderer? I just want to exclude the CDATA sections from the tree display, while keeping them in the data provider and being able to access and change them.</p>
<p>Thank you for any hints on how to achieve this!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/#comment-15453</link>
		<author>peterd</author>
		<pubDate>Wed, 10 Sep 2008 14:03:55 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/#comment-15453</guid>
		<description>Manuel,

I'm not sure I've seen that, but if you think it is a bug, can you please file a bug at http://bugs.adobe.com/flex/ and include some sample code and somebody can investigate it.

Thanks,
Peter</description>
		<content:encoded><![CDATA[<p>Manuel,</p>
<p>I&#8217;m not sure I&#8217;ve seen that, but if you think it is a bug, can you please file a bug at <a href="http://bugs.adobe.com/flex/" rel="nofollow">http://bugs.adobe.com/flex/</a> and include some sample code and somebody can investigate it.</p>
<p>Thanks,<br />
Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manuel</title>
		<link>http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/#comment-15445</link>
		<author>Manuel</author>
		<pubDate>Wed, 10 Sep 2008 10:10:54 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/#comment-15445</guid>
		<description>Hey, thank you for the neat introduction into custom node/leaf labeling of the Tree component. Btw. do you, or does anyone know how to hide CDATA sections within the tree? When I have such sections in the Tree dataprovider, those leafs will be displayed, but I don't know how to hide 'em. When I click onto such a leaf and I continue navigation through the tree, arbitrary nodes get hidden and show up again. This issue drives me nuts!</description>
		<content:encoded><![CDATA[<p>Hey, thank you for the neat introduction into custom node/leaf labeling of the Tree component. Btw. do you, or does anyone know how to hide CDATA sections within the tree? When I have such sections in the Tree dataprovider, those leafs will be displayed, but I don&#8217;t know how to hide &#8216;em. When I click onto such a leaf and I continue navigation through the tree, arbitrary nodes get hidden and show up again. This issue drives me nuts!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nolan</title>
		<link>http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/#comment-13848</link>
		<author>Nolan</author>
		<pubDate>Tue, 01 Jul 2008 20:40:38 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/#comment-13848</guid>
		<description>Thanks for all of the great examples. 
Is there a way to hide or display a customized Arrow Icon, instead of using the default gray arrow?

thx.</description>
		<content:encoded><![CDATA[<p>Thanks for all of the great examples.<br />
Is there a way to hide or display a customized Arrow Icon, instead of using the default gray arrow?</p>
<p>thx.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Orioles Magic</title>
		<link>http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/#comment-11920</link>
		<author>Orioles Magic</author>
		<pubDate>Sat, 12 Apr 2008 04:33:54 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/#comment-11920</guid>
		<description>That's a good example.  You had me psyched out there for a minute.  I found this page doing a search for the Orioles, but I do some programming on the side too so this is good to know.</description>
		<content:encoded><![CDATA[<p>That&#8217;s a good example.  You had me psyched out there for a minute.  I found this page doing a search for the Orioles, but I do some programming on the side too so this is good to know.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
