After downloading the Cairngorm Store I realized that I need the Flex Data Services and a J2EE (Web) Container. Reading some of the feedbacks from the community convinced me to modify the original example and support Business Delegate Mockups which means you now do not need any backend!
The install size is less than 1MB and you can extract import and run without any additional downloads or setups. Due to security issues the file type is doc – please rename to zip extract and read the readme.txt file.
Enjoy!
update (22, feb. 2008) : Please check out Douglas McCarrol’s update to the Modified Cairngorm which includes support for Flex 3!
Happy coding,
April 28, 2007 at 1:33 am |
Thank you very much for simplifying the Cairngorm store example. It helped me a lot to migrate from AMFPHP 1.2/Cairngorm 2.0 to AMFPHP 1.9b/Cairngorm 2.2.
May 29, 2007 at 12:02 am |
Clicking on a product in the text listing did not show details until I changed TextualProductList.mxml…
dispatchEvent( new Event( SELECT_EVENT ) );
//taken out CairngormEventDispatcher.getInstance().dispatchEvent( new
//CairngormEvent( SELECT_EVENT ) );
Perhaps this was a 2.2 change put in too early ? please advise.
May 29, 2007 at 12:07 am |
Actually, I dont understand why the original code didn’t work, since there are other successful usages of the CairngormEventDispatcher in the sample app that do work.
July 13, 2007 at 10:08 am |
I have downloaded and installed the sample as described in the readme.txt . It builds but when I try to run it gives the following error:
VerifyError: Error #1053: Illegal override of subtopic in mx.messaging.Consumer.
at frame2
at [abc-decode]
at flash.display::MovieClip/nextFrame()
at mx.managers::SystemManager/private::deferredNextFrame()
at mx.managers::SystemManager/private::preloader_initProgressHandler()
at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.preloaders::Preloader/private::timerHandler()
at flash.utils::Timer/flash.utils:Timer::_timerDispatch()
at flash.utils::Timer/flash.utils:Timer::tick()
Any clue ?
July 19, 2007 at 8:27 am |
If we ‘injected’ (Spring) our delegates into the commands so that my unit tests use the mock delegates and my application uses the real ones, we wouldn’t need code like this in the commands:
//removed in favor of a mockup delegate
//var delegate : ProductDelegate = new ProductDelegate( this );
var delegate : ProductDelegateMock = new ProductDelegateMock( this );
August 10, 2007 at 9:27 pm |
Ashish, did you find out how to solve that issue?
I am having the same problem/error.
Thanks,
Guillermo
August 16, 2007 at 10:58 am |
Hello Ashish and Guillermo,
Your Error #1053 is solved by using the FLEX SDK 2.0.1.Hotfix 1. Probably the FLEX SDK version your are using are: SDK 2.0.1 Hotfix2, or Moxie.
Best
Nelson
September 13, 2007 at 10:01 pm |
I had the same problem… I was using moxie m2… it turned out that I forgot to rebuild some modules that I had in flex 2
after I rebuild them in moxie every worked fine!!
hth
Gus
December 16, 2007 at 12:23 am |
very interesting, but I don’t agree with you
Idetrorce
January 10, 2008 at 6:00 pm |
VerifyError: Error #1053: Illegal override of subtopic in mx.messaging.Consumer.
I also had this problem using Flex Builder 3 with SDK 2 Hotfix 3 (This is the default SDK installed for 2). The solution was to download the SDK 2 Hotfix 1 and use this SDK instead.
July 14, 2008 at 7:15 am |
Thanks
April 9, 2009 at 4:04 pm |
“Due to security issues the file type is doc – please rename to zip extract and read the readme.txt file.”
…what possible security concern could be solved by renaming a zip file as .doc?
April 15, 2009 at 6:32 pm |
Lot’s of corporate firewalls don’t allow zipped downloads …
September 12, 2009 at 2:03 am |
Application works perfectly even with the latest version of Flex SDK 3.2