<?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: Defining a custom label function on a Flex Tree control</title>
	<atom:link href="http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Sun, 12 Feb 2012 14:19:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: RC</title>
		<link>http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/comment-page-1/#comment-9081</link>
		<dc:creator>RC</dc:creator>
		<pubDate>Thu, 24 Mar 2011 12:22:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/#comment-9081</guid>
		<description>sorry they are coming out as &amp; g e ;

without the spaces</description>
		<content:encoded><![CDATA[<p>sorry they are coming out as &amp; g e ;</p>
<p>without the spaces</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RC</title>
		<link>http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/comment-page-1/#comment-9080</link>
		<dc:creator>RC</dc:creator>
		<pubDate>Thu, 24 Mar 2011 12:20:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/#comment-9080</guid>
		<description>Hello,

Great site!! So here is my question. I have a Tree with a custom TreeRenderer. I have XML as the dataProvider and the labelField has html in it. I am able to display the text with the html formatting with one exception. The less than and greater than symbols come out as &#8805;

Here is what the XML attribute is 
Desc=&quot;Asthma, &lt;b&gt;&#8805; One:&lt;/b&gt;&quot;

This does come out as (bold as desired) 
Asthma, &#8805; One:

I tried creating a function to wrap the value in CDATA but seems not to display the &gt;

Thanks
RC Army</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>Great site!! So here is my question. I have a Tree with a custom TreeRenderer. I have XML as the dataProvider and the labelField has html in it. I am able to display the text with the html formatting with one exception. The less than and greater than symbols come out as &ge;</p>
<p>Here is what the XML attribute is<br />
Desc=&#8221;Asthma, <b>&ge; One:</b>&#8221;</p>
<p>This does come out as (bold as desired)<br />
Asthma, &ge; One:</p>
<p>I tried creating a function to wrap the value in CDATA but seems not to display the &gt;</p>
<p>Thanks<br />
RC Army</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Naresh</title>
		<link>http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/comment-page-1/#comment-1721</link>
		<dc:creator>Naresh</dc:creator>
		<pubDate>Mon, 20 Apr 2009 09:12:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/#comment-1721</guid>
		<description>I need a flex tree control where it have lot of nodes containing html page link, when we select the node respected html page should be loaded in other container in the same window, can u provide one example, that will be helpful.........

regards,
Naresh</description>
		<content:encoded><![CDATA[<p>I need a flex tree control where it have lot of nodes containing html page link, when we select the node respected html page should be loaded in other container in the same window, can u provide one example, that will be helpful&#8230;&#8230;&#8230;</p>
<p>regards,<br />
Naresh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: abdulrahim</title>
		<link>http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/comment-page-1/#comment-1729</link>
		<dc:creator>abdulrahim</dc:creator>
		<pubDate>Mon, 06 Oct 2008 12:58:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/#comment-1729</guid>
		<description>It&#039;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-page-1/#comment-1725</link>
		<dc:creator>Manuel</dc:creator>
		<pubDate>Thu, 11 Sep 2008 11:04:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/#comment-1725</guid>
		<description>It&#039;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-page-1/#comment-1726</link>
		<dc:creator>peterd</dc:creator>
		<pubDate>Wed, 10 Sep 2008 20:45:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/#comment-1726</guid>
		<description>Manuel,

There shouldn&#039;t be a character limit that I know of (certainly none that I&#039;ve reached). If you want to post code blocks though, you need to convert your &lt; characters to &lt; and your &gt; characters to &gt;, otherwise, &quot;bad things happen&quot;.

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-page-1/#comment-1722</link>
		<dc:creator>Manuel</dc:creator>
		<pubDate>Wed, 10 Sep 2008 20:32:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/#comment-1722</guid>
		<description>Noooo :( too much characters, please delete the code in the post...
It&#039;s just the following:
I subclassed the DefaultDataDescriptor, overrode  the isBranch() method, iterated through the childList and returned false if child node&#039;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-page-1/#comment-1727</link>
		<dc:creator>Manuel</dc:creator>
		<pubDate>Wed, 10 Sep 2008 20:27:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/#comment-1727</guid>
		<description>YEAH! I got it done by myself :) Here&#039;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-page-1/#comment-1724</link>
		<dc:creator>Manuel</dc:creator>
		<pubDate>Wed, 10 Sep 2008 19:40:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/#comment-1724</guid>
		<description>Yes, the randomly hidden node issue is certainly a bug and I will file it as soon I&#039;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-page-1/#comment-1723</link>
		<dc:creator>peterd</dc:creator>
		<pubDate>Wed, 10 Sep 2008 14:03:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/10/29/defining-a-custom-label-function-on-a-flex-tree-control/#comment-1723</guid>
		<description>Manuel,

I&#039;m not sure I&#039;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>
</channel>
</rss>

