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

2008-04-22 Thread Douglas McCarroll
Hi Vivian, Is there any way I can draw a visual diagram from which I can visually see which event it tied with which command .. etc? I'm guessing that you mean some way that is easier than using diagramming software - perhaps an automated solution? I don't know of any. What I do is to make

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

2008-04-21 Thread Douglas McCarroll
Vivian, I set this up as a project in Flex Builder, ran it, and it works. The graph displays the appropriate subsets, and a breakpoint in the filter function indicates that it is doing its job. What's the problem? :) Douglas On Fri, Apr 18, 2008 at 10:27 AM, Vivian Richard [EMAIL PROTECTED]

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

2008-04-21 Thread Vivian Richard
Thanks for the email Douglas. The problem is it works :) here!!! Actually when you told me to send some code I wrote this small code mainly to show how I connected the filter. I was expecting this sample code will not work either. But it works as you have seen. So I guess my

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

2008-04-18 Thread Douglas McCarroll
Any suggestions? Yes. Show us the code where you are trying to do this. :) On Thu, Apr 17, 2008 at 9:13 PM, Vivian Richard [EMAIL PROTECTED] wrote: In my main application's creation complete event function I assigned one of my Modellocator's arraylist to its filter function. Then

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

2008-04-18 Thread Vivian Richard
Hi Douglas, thanks for your email. Since my code was very big, I tried to write a very small application hoping that it will not work. But in this case unfortunately it is working. :-))). So I guess I must have made some mistake some where in my main application. I guess I need to go

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

2008-04-17 Thread Vivian Richard
In my main application's creation complete event function I assigned one of my Modellocator's arraylist to its filter function. Then the event that triggers the filtering - that event's command calls arrayCollection.refresh() function. Unfortunately I do not see any filtering

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

2008-04-15 Thread Daniel Gold
I probably do a little more work in views than other people. Our commands have a great deal of logic but most of that is for client/server communication. We have a fairly large application where most of the model data is shared. In my case it really doesn't make sense to have an event and a

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

2008-04-15 Thread gabriel montagné
sorry, On Tue, Apr 15, 2008 at 2:27 PM, gabriel montagné [EMAIL PROTECTED] wrote: on a particular view, sorting an array ... on the view... would make the most sense. -- gabriel montagné láscaris comneno http://rojored.com t/506.8392.2040

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

2008-04-15 Thread gabriel montagné
On Tue, Apr 15, 2008 at 8:23 AM, Daniel Gold [EMAIL PROTECTED] wrote: I probably do a little more work in views than other people. Our commands have a great deal of logic but most of that is for client/server communication. We have a fairly large application where most of the model data is

RE: [flexcoders] Re: Cairngorm ModelLocator

2005-10-04 Thread João Fernandes
For me, its not a question of how many. I group by variables based on applications and sometimes based on applications areas. the initialize method is just to be sure your vars exist when u need them. I initialize them when I know they've never been created before (it depends on the