What is the matter with me today? Second time, I asked a question
there was a clearly published answer for. Ignore me until midnight
PST. Otherwise, who knows what chaos I could cause.
-Kenny
Here's what's funny. I wasn't aware it continued to part III. Thank
you, Alex, for answering a question this silly programmer could have
found by navigating the thread. :)
"Welcome to the family!"
Kenny Silanskas
Director of Communications
Dillstar Productions
Alex,
What if the three lists a developer is filtering/sorting are contained
within a component? Then doesn't hard coding the values into the
ModelLocator defeat the purpose of component independence? You would
have to update your model every time you wanted to add an instance of
the component, am
>
> There's a very simple demo for beta 3 below. Does this solve your
problem?
>
> Paul
>
>
> http://www.adobe.com/2006/mxml";
layout="horizontal" creationComplete="initialise()">
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ___
>
>
>
>
>
>
>
>
>
>
>
>
> From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
[mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
] On Behalf Of Jeremy Lu
> S
t;
>
>
>
>
>
>
>
>
>
>
> ________
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
> Jeremy Lu
> Sent: Saturday, June 10, 2006 4:13 AM
> To: flexcoders@yahoogroups.com
> Subject: Re:
>
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
; >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > From: flexcoders@yahoogroups.com
[mailto:
> > flexcoders@yahoogroups.com ] On
Behalf Of
>
ot;horizontal" creationComplete="initialise()">
From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Jeremy Lu
Sent: Saturday, June 10, 2006 4:13 AM
To: flexcoders@yahoogroups.com
Subject:
f Jeremy
Lu
Sent: Saturday, June 10, 2006 4:13 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: need strategy for filtering ArrayCollections in a
Cairngorm app
very interesting...
why not trigger a global "ArrayChangedEvent" so each fitlered ArrayCollection
can update
very interesting...
why not trigger a global "ArrayChangedEvent" so each fitlered
ArrayCollection can update itself according to it ? (with some binding
settings this should be feasible)
the trigger point is: when new data are pushed into MasterArray, dispatch it.
Tom: if you have some sampl
I'll have to take your word on that, but I'm still skeptical. If what you say is true, then you could still use the same approach, but instead have the view listen for updates to the masterArray in the ModelLocator. You could do this either by using the changWatcher utility or Paul Williams' O
Thanks for trying. An ArrayCollection will not reflect changes made directly to its source array, so new items pushed onto masterArray do not show up in my views.-TomOn 6/9/06,
Tim Hoff <[EMAIL PROTECTED]> wrote:
Changes to the masterArray in the ModelLocator sho
Changes to the masterArray in the ModelLocator should be
automatically reflected in the AC if you use either of the binding
methods I posted. If not, sorry. That's all I have.
-TH
--- In flexcoders@yahoogroups.com, "Tom Bray" <[EMAIL PROTECTED]> wrote:
>
> The problem is that changes to Model
The problem is that changes to ModelLocator.getInstance().masterArray don't update the views' dataProviders. In other words, the ArrayCollections that use masterArray as their source don't know when new items are added to or removed from masterArray. That's why I was thinking that masterArray
If that doesn't work you could try this:
-TH
--- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote:
>
>
> Something like this should do the trick:
>
>
>
>
>
> -TH
>
> --- In flexcoders@yahoogroups.com, "Tom Bray" wrote:
> >
> > Thanks, Tim. That makes sense but t
Something like this should do the trick:
-TH
--- In flexcoders@yahoogroups.com, "Tom Bray" <[EMAIL PROTECTED]> wrote:
>
> Thanks, Tim. That makes sense but there's one limitation I'm not sure
how
> to work around. That master Array of users is going to be constantly
updated
> by the serv
Thanks, Tim. That makes sense but there's one limitation I'm not sure how to work around. That master Array of users is going to be constantly updated by the server to show who's currenlty online. Since an Array isn't bindable, how would you propagate changes from that Array to the filtered Ar
Hey Tom,
In response to this question and the BindingUtils and
ArrayCollection.filter question, I offer this suggestion. In the
ModelLocator maintain a single master Array of all the users. Then
in each instance of your view components, create a new bound
ArrayCollection (dataProvider), with
19 matches
Mail list logo