<?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: Filtering an XMLListCollection using the filterFunction property and regular expressions</title>
	<link>http://blog.flexexamples.com/2007/08/04/filtering-an-xmllistcollection-using-the-filterfunction-property-and-regular-expressions/</link>
	<description>A bunch of examples for Adobe Flex and ActionScript</description>
	<pubDate>Fri, 05 Dec 2008 11:12:44 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2007/08/04/filtering-an-xmllistcollection-using-the-filterfunction-property-and-regular-expressions/#comment-16453</link>
		<author>peterd</author>
		<pubDate>Tue, 28 Oct 2008 21:00:50 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/08/04/filtering-an-xmllistcollection-using-the-filterfunction-property-and-regular-expressions/#comment-16453</guid>
		<description>Voted and subscribed.

Thanks,
Peter</description>
		<content:encoded><![CDATA[<p>Voted and subscribed.</p>
<p>Thanks,<br />
Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RObert</title>
		<link>http://blog.flexexamples.com/2007/08/04/filtering-an-xmllistcollection-using-the-filterfunction-property-and-regular-expressions/#comment-16452</link>
		<author>RObert</author>
		<pubDate>Tue, 28 Oct 2008 20:14:35 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/08/04/filtering-an-xmllistcollection-using-the-filterfunction-property-and-regular-expressions/#comment-16452</guid>
		<description>Done.  Bug ID SDK-17808.  https://bugs.adobe.com/jira/browse/SDK-17808</description>
		<content:encoded><![CDATA[<p>Done.  Bug ID SDK-17808.  <a href="https://bugs.adobe.com/jira/browse/SDK-17808" rel="nofollow">https://bugs.adobe.com/jira/browse/SDK-17808</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2007/08/04/filtering-an-xmllistcollection-using-the-filterfunction-property-and-regular-expressions/#comment-16446</link>
		<author>peterd</author>
		<pubDate>Tue, 28 Oct 2008 16:11:28 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/08/04/filtering-an-xmllistcollection-using-the-filterfunction-property-and-regular-expressions/#comment-16446</guid>
		<description>RObert,

Can you please file a bug on the top level filtering problem at http://bugs.adobe.com/flex/ and include a simple test case, if possible.

Thanks,
Peter</description>
		<content:encoded><![CDATA[<p>RObert,</p>
<p>Can you please file a bug on the top level filtering problem at <a href="http://bugs.adobe.com/flex/" rel="nofollow">http://bugs.adobe.com/flex/</a> and include a simple test case, if possible.</p>
<p>Thanks,<br />
Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RObert</title>
		<link>http://blog.flexexamples.com/2007/08/04/filtering-an-xmllistcollection-using-the-filterfunction-property-and-regular-expressions/#comment-16445</link>
		<author>RObert</author>
		<pubDate>Tue, 28 Oct 2008 15:34:24 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/08/04/filtering-an-xmllistcollection-using-the-filterfunction-property-and-regular-expressions/#comment-16445</guid>
		<description>Has a bug report been filed for the top level filtering problem?  I haven't been able to find any information on it.</description>
		<content:encoded><![CDATA[<p>Has a bug report been filed for the top level filtering problem?  I haven&#8217;t been able to find any information on it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2007/08/04/filtering-an-xmllistcollection-using-the-filterfunction-property-and-regular-expressions/#comment-13344</link>
		<author>peterd</author>
		<pubDate>Wed, 11 Jun 2008 16:14:36 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/08/04/filtering-an-xmllistcollection-using-the-filterfunction-property-and-regular-expressions/#comment-13344</guid>
		<description>FrogMo / peterh,

Can one of you file a bug/enhancement request at http://bugs.adobe.com/flex/ so Adobe can track the issue? Also, if you post the bug number here, I'm sure a few people can vote on the issue.

Thanks,
Peter</description>
		<content:encoded><![CDATA[<p>FrogMo / peterh,</p>
<p>Can one of you file a bug/enhancement request at <a href="http://bugs.adobe.com/flex/" rel="nofollow">http://bugs.adobe.com/flex/</a> so Adobe can track the issue? Also, if you post the bug number here, I&#8217;m sure a few people can vote on the issue.</p>
<p>Thanks,<br />
Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterh</title>
		<link>http://blog.flexexamples.com/2007/08/04/filtering-an-xmllistcollection-using-the-filterfunction-property-and-regular-expressions/#comment-13343</link>
		<author>peterh</author>
		<pubDate>Wed, 11 Jun 2008 15:14:20 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/08/04/filtering-an-xmllistcollection-using-the-filterfunction-property-and-regular-expressions/#comment-13343</guid>
		<description>Seconding Frogmo's request for a workaround to the filterFunction's deficient filtering. I think they just used ListCollections on flat hierarchies and when they added the XML counterpart, they forgot expand the filterFunction's functionality.</description>
		<content:encoded><![CDATA[<p>Seconding Frogmo&#8217;s request for a workaround to the filterFunction&#8217;s deficient filtering. I think they just used ListCollections on flat hierarchies and when they added the XML counterpart, they forgot expand the filterFunction&#8217;s functionality.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tdurant</title>
		<link>http://blog.flexexamples.com/2007/08/04/filtering-an-xmllistcollection-using-the-filterfunction-property-and-regular-expressions/#comment-12754</link>
		<author>tdurant</author>
		<pubDate>Sun, 18 May 2008 07:13:43 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/08/04/filtering-an-xmllistcollection-using-the-filterfunction-property-and-regular-expressions/#comment-12754</guid>
		<description>Ug!  how could I do this in flex 2 its driving me crazy</description>
		<content:encoded><![CDATA[<p>Ug!  how could I do this in flex 2 its driving me crazy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: FrogMo</title>
		<link>http://blog.flexexamples.com/2007/08/04/filtering-an-xmllistcollection-using-the-filterfunction-property-and-regular-expressions/#comment-12711</link>
		<author>FrogMo</author>
		<pubDate>Thu, 15 May 2008 20:59:28 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/08/04/filtering-an-xmllistcollection-using-the-filterfunction-property-and-regular-expressions/#comment-12711</guid>
		<description>Is the fact that only the top level of hierarchy in the XMLListCollection is filtered using filterFunction a bug?

Like JabbyPanda said that is a HUGE limitation.  Is there somework around for this?  Is there a way to assign a filterFunction on each level of the XMLListCollection hierarchy?</description>
		<content:encoded><![CDATA[<p>Is the fact that only the top level of hierarchy in the XMLListCollection is filtered using filterFunction a bug?</p>
<p>Like JabbyPanda said that is a HUGE limitation.  Is there somework around for this?  Is there a way to assign a filterFunction on each level of the XMLListCollection hierarchy?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arnold</title>
		<link>http://blog.flexexamples.com/2007/08/04/filtering-an-xmllistcollection-using-the-filterfunction-property-and-regular-expressions/#comment-12678</link>
		<author>Arnold</author>
		<pubDate>Wed, 14 May 2008 14:40:06 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/08/04/filtering-an-xmllistcollection-using-the-filterfunction-property-and-regular-expressions/#comment-12678</guid>
		<description>Hi Peter,

I'm currently doing a filter function in an application.  My understanding is that when you try to  filter a specific dataField you can do this:  "if (item.origin == "WA")"  "origin" is a specific column on a datagrid column.  But what if I want to store that datafield column in a variable? 

for example:  var custom_datafield:String = "origin" ;   
and do this:   if (item.custom_datafield == "WA")  --  I am not getting any returned records and it did not give me errors as well. I need your expertise on this.
Are there any other way to do this?

In case you are wondering why I need to store the dataField name into a variable is because I am creating a datagrid component that will accept any XML file using only one datagrid and one filter functionality.

Thanks,
Arnold</description>
		<content:encoded><![CDATA[<p>Hi Peter,</p>
<p>I&#8217;m currently doing a filter function in an application.  My understanding is that when you try to  filter a specific dataField you can do this:  &#8220;if (item.origin == &#8220;WA&#8221;)&#8221;  &#8220;origin&#8221; is a specific column on a datagrid column.  But what if I want to store that datafield column in a variable? </p>
<p>for example:  var custom_datafield:String = &#8220;origin&#8221; ;<br />
and do this:   if (item.custom_datafield == &#8220;WA&#8221;)  &#8212;  I am not getting any returned records and it did not give me errors as well. I need your expertise on this.<br />
Are there any other way to do this?</p>
<p>In case you are wondering why I need to store the dataField name into a variable is because I am creating a datagrid component that will accept any XML file using only one datagrid and one filter functionality.</p>
<p>Thanks,<br />
Arnold</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JabbyPanda</title>
		<link>http://blog.flexexamples.com/2007/08/04/filtering-an-xmllistcollection-using-the-filterfunction-property-and-regular-expressions/#comment-12559</link>
		<author>JabbyPanda</author>
		<pubDate>Thu, 08 May 2008 09:05:25 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/08/04/filtering-an-xmllistcollection-using-the-filterfunction-property-and-regular-expressions/#comment-12559</guid>
		<description>The written filter function in this example has a serious limitation - it only filters items from top level of hierarchy in XMLListCollection</description>
		<content:encoded><![CDATA[<p>The written filter function in this example has a serious limitation - it only filters items from top level of hierarchy in XMLListCollection</p>
]]></content:encoded>
	</item>
</channel>
</rss>
