It's correct but
1. What about different set of delegates for every view (depends on
server architecture)??
2. It's not applicable to my application, so imagine please other
example: you have flex Rich Text Editor (or image editor or something
other), based on cairngorm architecture, with multi-window design (or
multipanel or multiwhatever). So how to use flex data binding in this
case???
Thank you one more time for your previous reply it helps me a lot.
--- In [email protected], "Steven Webster" <[EMAIL PROTECTED]>
wrote:
>
> If I'm understanding this thread correctly, you have a component
> MyView.mxml that renders some data, we'll call it "myData". You
want to
> have multiple instances of MyView.mxml that render different
instances
> of myData - eg myData1, myData2, myData3, etc.
>
> So I'm not sure why you can't manage:
>
> <view:MyView instanceSpecificData="{ ModelLocator.getInstance().
myData1
> }" />
> <view:MyView instanceSpecificData="{ ModelLocator.getInstance().
myData2
> }" />
> <view:MyView instanceSpecificData="{ ModelLocator.getInstance().
myData3
> }" />
>
> Cairngorm as an architecture is not trying to address how you
structure
> your view - we're leaving the developer complete flexibility to
> implement the view however they choose. What you are citing as a
> restriction, is one of the degrees of freedom we are offering.
>
> I wouldn't be using ViewHelpers here at all, I'd be using the
> ModelLocator at an application level, holding data that different
views
> (whether they're multiple instances of the same view, or different
views
> altogether) are able to bind to and display.
>
> Steven
>
> --
> Steven Webster
> Practice Director (Rich Internet Applications)
> Adobe Consulting
> Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK
> p: +44 (0) 131 338 6108
> m: +44 (0) 7917 428 947
> [EMAIL PROTECTED]
>
>
>
> > -----Original Message-----
> > From: [email protected]
> > [mailto:[EMAIL PROTECTED] On Behalf Of maxym.hryniv
> > Sent: 15 May 2006 15:47
> > To: [email protected]
> > Subject: [flexcoders] Re: Cairngorm microarchitecture. 2
> > instances of view with different data.
>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

