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 concept is right, I must
have
made some mistake in my main code and that was why it was not working.
I will find that.
By the way Douglas, I am having hard time to keep track of all these
different
event, command, component, factory modules. Is there any way I can
draw a visual diagram from which I can visually see which event it tied
with
which command .. etc?
Best regards,
Viv
On Mon, Apr 21, 2008 at 5:48 AM, Douglas McCarroll <
[EMAIL PROTECTED]> wrote:
> 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]>
> wrote:
>
> >
> >
> > Sorry here is the code....
> >
> >
> >
> >
> > On Fri, Apr 18, 2008 at 6:25 AM, Vivian Richard <[EMAIL PROTECTED]>
> > wrote:
> >
> > >
> > >
> > > 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 through that algorithm
> > > and see
> > > if it was correct. I am attaching the example that I just wrote.
> > > Please suggest
> > > if I need to make any changes the way I tied the filter function
> > > with the
> > > ArrayCollection.
> > >
> > > By the way, it is true that Cairngorm made writing enterprise
> > > application very
> > > easy but there are just too many classes and I am really having hard
> > > time
> > > to keep track of what is doing what!!!! I guess I need to use UML.
> > > Any
> > > suggestion which one should I use also if it is possible can I see
> > > an
> > > example of Cairngorm/flex UML diagram..
> > >
> > >
> > >
> > >
> > >
> > > On Fri, Apr 18, 2008 at 3:17 AM, Douglas McCarroll <
> > > [EMAIL PROTECTED]> wrote:
> > >
> > > > > 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
> > > > > the event that triggers the filtering - that event's command
> > > > > calls
> > > > > arrayCollection.refresh() function. Unfortunately I do not see
> > > > > any
> > > > > filtering taking place. Any suggestions?
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On Tue, Apr 15, 2008 at 12:36 PM, gabriel montagné <
> > > > > [EMAIL PROTECTED]> wrote:
> > > > >
> > > > > > sorry,
> > > > > >
> > > > > >
> > > > > > On Tue, Apr 15, 2008 at 2:27 PM, gabriel montagné <
> > > > > > [EMAIL PROTECTED] <gabriel%40rojored.com>> 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
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>
>