I agree your solution should be in binding, but definitely check out UM
anyway, if only for the fail/success callbacks on events. I've ripped off
that idea for some in-house stuff (I was in the middle of something less
elegant to achieve the same result when I heard about it), and it's
incredibly useful. You don't need direct coupling between UI, business, and
communication code, and you can keep things as simple and testable as
possible.

-Josh

On Thu, Jun 19, 2008 at 1:06 PM, Bjorn Schultheiss <
[EMAIL PROTECTED]> wrote:

> I'm assuming Binding would be the easiest solution.
> If your binding directly from your model to the advancedDataGrid
> binding should take care of the updating for you..
>
>
> --- In [email protected], "donvoltz" <[EMAIL PROTECTED]> wrote:
> >
> > I have been building on my cairngorm experience and have come up to a
> > snag.
> >
> > I understand the whole idea about using the controller to trap and
> > respond to events, however, how do I deal with custom view components
> > that need to respond to an event.
> >
> > For example, I have a custom component that contains an advanced data
> > grid. I am filling the modelLocator with data from the server and
> > using this as the data provider for the advanced data grid. The
> > problem I have is when the user selects a different date, I generate a
> > cairngorm event to load new data from the server. This information is
> > dealt with in the controller, however, I am not able to send the event
> > to the custom component to refresh the advance data grid and display
> > the data.
> >
> > Would someone help me to understand how I can use the events, or
> > generate a new custom event to trigger some activity within a custom
> > view component
> >
> > Thanks for the help
> >
> > Don
> >
>
>
>
> ------------------------------------
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
> Links
>
>
>
>


-- 
"Therefore, send not to know For whom the bell tolls. It tolls for thee."

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]

Reply via email to