Hi J, I admit things have been very slow for cairngormdocs lately, but one of the things I'd like to accomplish for our site is exactly what you've described. ...
Alistair, I commented it but still got the problem. First call doesn’t work but if I try few seconds later it does. Anyway, I didn’t have time to build a...
Extremely new to Cairngorm here. For the last couple of days I have been examining the examples floating around the internet and am somewhat looking for...
Hi Alistair, This may be of interest to you: http://tech.groups.yahoo.com/group/flexcoders/message/62755 Thanks, Ben ... simple test case, that'd be a great...
Hi List, I'm pretty new to Caringorm and I was hoping someone could help me with a view update question. I'm currently building a desktop photo editing...
Hey Colin, Typically you would update the Model from the command. You mentioned that the service is returning an ArrayCollection, therefor it should be as ...
Hi Eric, Another quick question I have regarding updating the model. Would there be a time when you would up date the model directly from the view without...
I too struggle with this issues. Often times it is much easier to just update the model directly from the view. It is ofter easier to put procedural code in...
Hi Jason, Thanks for the feedback. It's a good point you make about data being used in other areas of the application. This is true in my case so I'll be...
There is often a temptation to work outside of Cairngorm best practices and this is normal at times, however, in my opinion it should not be considered as you...
Not sure of the best way to handle multiple requests for data based on a single user interaction? Normally I would fire multiple events based on the single...
Gareth Edwards
ghedwards@...
Feb 6, 2007 10:59 pm
300
Gareth, is each fetch data call independent? this series of articles by Sho Kuwamoto may be of some help here: ...
You can specify each "nextEvent" to get fired in the previous command's result handler, ensuring that commands get processed in the order you require. ...
Both replies very helpful, thanks, still haven't come up with what I need. Quick kinda related question, should only single event be fired with each user...
Gareth Edwards
ghedwards@...
Feb 6, 2007 11:31 pm
303
Just another thought on this post, what if I want fire an event that calls one of the commands in part of this group? Maybe I can have a pre process command...
Gareth Edwards
ghedwards@...
Feb 6, 2007 11:46 pm
304
cairngorm specifies that there should be 1 event per command. i've got an example here that might help. http://cairngormdocs.org/blog/?p=27 regards, Bjorn...
Maybe I should just return all the data I need in one call? Then break the result up in to the different parts of the model? Thoughts? Cheers Gareth. Bjorn...
Gareth Edwards
ghedwards@...
Feb 7, 2007 12:31 am
306
Up to you my friend. 'previous quote' but managing some sort of asynchronous cue, so that we can detect that the data we are expecting has completed loading. ...
I've often wondered what would happen if I registered two events to one command or two commands to one event. My case was that I was writing a kiosk and adding...
Hi, I'm new to Cairngorm. I'm trying to retrieve data from services.mxml and this seams to work. My problem is when I try to do something with the data...
This does not have to do anything with cairngorm. start a debug session put a breakpoint on the line "var products:ICollectionView = ..... run your app when...
... it is even nicer to do: token.addResponder(responder); where responder is usually the command that invoked the method on the delegate. hence the IResponder...
Doesn't work: "1067: Implicit coercion of a value of type com.adobe.cairngorm.business:Responder to an unrelated type mx.rpc:IResponder." "Command"(Cairngorm)...