Re: [flexcoders] Cairngorm ModelLocator array filter...

2008-04-15 Thread Vivian Richard
Wow liked both the solutions. One is to make a copy and then add the filter function and the other one is to add the filer function in command. Great thanks. On Mon, Apr 14, 2008 at 3:26 PM, gabriel montagné [EMAIL PROTECTED] wrote: On Mon, Apr 14, 2008 at 12:49 PM,

[flexcoders] Cairngorm ModelLocator array filter...

2008-04-14 Thread hworke
Hi I am using Cairngorm and in my ModelLocator I do have an array. I want to filter that array with a filter function. My question is where do I put this filter function: in a separate file or in the ModelLocator class?

Re: [flexcoders] Cairngorm ModelLocator array filter...

2008-04-14 Thread Daniel Gold
depends on your architecture and what feels best in your project. Problem with filtering an ArrayCollection directly in the model is that any views bound to that model will also be filtered. Usually I have a large dataset in an ArrayCollection in the model, and have a view that might have a search

Re: [flexcoders] Cairngorm ModelLocator array filter...

2008-04-14 Thread gabriel montagné
On Mon, Apr 14, 2008 at 12:49 PM, hworke [EMAIL PROTECTED] wrote: Hi I am using Cairngorm and in my ModelLocator I do have an array. I want to filter that array with a filter function. My question is where do I put this filter function: in a separate file or in the ModelLocator class?