cairngorm

How to load a Flex module while using Cairngorm framework ?

Hi, We are using Cairngorm in our project, we have just written a module for a functionality.Individualy the module is fine but how do i invoke the module from Cairngorm. Thanks. ...

Help understanding Cairngorm Event in Flex

Hi, I was going through this article by David Tucker (http://www.davidtucker.net/2007/10/29/cairngorm-part-3/) in which he talks about Cairngorm Events. There are two things that I want to ask in this- What is the significance of calling the constructor of the parent class with the event arg? super(LOGIN) in the example Why do you ne...

Controllers in a Cairngorm Flex application

Is it possible to have two Controller classes(and consequently their own views and models) for two logically independent modules in a single flex application? ...

How to create instance model that can be shared throughout a component (which can be created more than once)

I am trying to create a modular structure that will eventually live inside another actionscript/flex application. I am using cairngorm in the outside application and I'd like to create more than one instance of this new component in the inside application. Cairngorm doesn't work for creating multiple duplicate components because of the...

Adobe Flex Cairngorm - avoid singleton

Is there any way to avoid writing data to the singleton ModelLocator in Cairngorm? In my current mxml files, I have something like new LoginEvent(LoginEvent.GET_LOGIN_EVENT).dispatch(); And this fires off the event and command. In the command, we have something like: public function result(data:Object):void { var returnedD...

File upload handling usign Cairngrom framework

Hi Has anyone handled a file upload within the cairngorm framework? Native Flex file upload is usually this way - var fileRef:FileReference = FileReference(fileList[0]); //fileList is an array obtained from FileReferenceList and then one does a fileRef.upload(new URLRequest("http://somedomain.com/upload")); to start off the upload...

Want to retrieve data from database using Flex+Cairngorm framework..

Hi.. I am new to cairngorm framework.. I need to retrieve the table data to flex UI using Flex + Cairngorm and PHP + MYSQL.. I got it using Flex alone using xml + PHP + MYSQL.. But in this case, i can't get the table data values.. Need a sample application with source code.. Help me.. Please.. Thanks in advance.. ...

Project doing in mvc pattern using cairngorm framework.

hii .. I wish to do my project in mvc pattern. so I chose cairngorm framework and just read some of the document about this framework.But I cant understand deeply to do project using this framework. Have any methods or examples to study doing project in cairngorm framework?? If u can pleas help me. ...

two webservices in flex

hi i want to retrive data from 2 webservices using cairngorm. i call them in init application and this is wrong, i don't know when to call this second one. flex can get data from the firsone and from the second is telling that doesn't see method, for me it is cos service it trying to find method from second webservice in this firstone. s...

Cairngorm 3 - Tutorial

Is there any good Cairngorm Tutorial or Guideline I can start with? thx ...

Cairngorm Framework V3 Vs Cairngrom framework V2

I have seen some white papers, Cairngorm V2 is not always good to use for flex framework. so many flex projects are converted cairngorm 2 to cairngorm 3. What i guess is what ever cairngorm 3 is developed based on the cairngorm 2 framework. So why all the projects converted to cairngorm 3 because of some issues in cairngorm 2 while usi...

cairngorm 3 architecture

I heared the cairngorm is not a framework and parsely framework is inbuilt(IOC container). So we here no need to use the frontcontroler to control the request to respose. Can any one please send ma clear architecture of the cairngorm3. I had searched documents for cairngorm 3 architecture but not found anywhere. Is it necessary to know...

Hidden Features of cairngorm

Hi, I found a lot of interesting info in the 'hidden features of...' series. I am very new to cairngorm . What are some of the hidden features of cairngorm. ...

Why use Flex instead of HTML/AJAX/PHP frameworks?

Hello all I have some experience of developing in Flex/Actionscript using Cairngorm framework. At that time I had no prior experience of ActionScript/Flex and it took me some good 3 months to get started with seriously developing an application. That time too, I was skeptical developing an app based in Flash, which won't be viewable on ...

use of cairngormEvent in cairngorm framework

What is the use to event extend the cairngorm event in cairngorm framework.? Can anyone explain about the cairngorm event. Thanks, Ravi ...

How do I FlexUnit Test Parsley commands?

Hi guys, I needed some guidance on how to use FlexUnit 4 within Flash Builder, to unit test a Parsley-frameworked Flex application. I have tried lookign at one or two sites but with no avail. Thanks ...

How do I add the SWC file for Cairngorm to my app without FlexBuilder?

I am not using FlexBuilder, I'm using the free Flex SDK with TextMate. I'm having some trouble figuring out what this FlexBuilder process actually does behind all the nice dialogs and things, so that I can do the same thing by tweaking whatever the relevant file is, but Googling just points me at similar instructions telling me to use Fl...

first value should be selected when loading the data in ComboBox

Hi, I had a comboBox and loading the datadynamically from the server. i need to display the first value in comboBox as a selected value and based on the value data should be populated on the grid. Please send me a sample example on the same if nay one knows. thanks, Ravi ...

Why is my object reference null when trying to reference an mx:Canvas from ActionScript?

Hi everyone, this is a follow up question from this one, I don't want to keep going in the comments and preventing people from getting hard-earned reputation... :) In my Cairngorm command class, to get it to compile I needed to tell it what myCanvas was, so I used this line: var myCanvas : MyCanvas = new MyCanvas; I'm guessing that's...

Date issue in Client(Flex) and Serverside(JAVA) issue

Hi, I have a date porblem in flex applications. while submit the date in flex applcation (28/09/2010 10:00:00 AM) as a string, the date is cobnverted in to Date object inserver side and displayig the result. But i install the server in other location (Ex:- USA) .Now i am passing the date from india(28/09/2010 10:00:00 AM) But the date...