cairngorm

Cairngorm XXXCommand be executed several times

Hey guys, I ran into a problem.I'm doing a GIS program using flex. There's a map in my Application,when I click one icon on the map,windowA pops up,when I click a link inside windowA,windowB pops up,but here my problem coming out,when I close windowB and click the link inside windowA another time,Two windowB pop up... In my windowA,I ...

Flex + Cairngrom + getter setter on a bound VO

I feel like this should be a simple thing, but here I am asking the question after a good amount of frustration. Ok I have a project I'm doing in Cairngorm in Flex 3. In one of the components I have a tile list that's bound to a VO in a Model Locator. I want to run a function once that VO contains some data that basically adds sums a ...

Cairngorm quickstart

Searching the site didn't help, so if anybody has good tips for getting up to speed with Cairngorm?! I have to make an ultra quickstart on this framework, since I have to dive into an existing project ASAP. Any help is much appreciated! ...

Flex Cairngorm Spring Blazeds - Remoting Error - help me please....

Hi all, I seem to be getting the following error when I try to access a Remote Java class (on Spring/BlazeDS) from the Flex/Cairngorm application. I am going crazy at the moment trying to see what is wrong - any help would be greatly appreciated - thanks Mike. **Error: C0007E: RemoteObject not found for mycomponentsService at Remote...

Problem in setting up remoting with zend_amf and cairngorm

Hello all I am using Flex 3.4 and Cairngorm 2.2 and Zend_AMF for server side. I am having problem in setting up RemoteObjects. I am getting the infamous Channel disconnected error. [RPC Fault faultString="Channel disconnected" faultCode="Client.Error.DeliveryInDoubt" faultDetail="Channel disconnected before an acknowledgement was rec...

Flex:how to count online user and record user visits?

Hey guys, I want to write a module that count online user and record user visits. I'm using Cairngorm,it seems to me when user open the Application,I should dispatch an event,and increase onlineCount stored in ModelLocator,get the visits number from DB and increase 1.When user leave the Application,decrease onlineCount and update the v...

difficult syncronization problem with FLEX commands (in cairngorm)

My problem, simplified: I have a dataGrid with a dataProvider "documents" A column of the datagrid has a labelFunction that gets the project_id field of the document, and returns the project name, from a bindable variable "projects" Now, I dispatch the events to download from the server the documents and the projects, but If the documen...

Cairngorm with FileReference?

I'm looking for any ideas on how to incorporate FileReference method like Upload into a Cairngorm architecture. Specifically, I would think to fire an event with the File in it, and that's fine. But how would one then be able to listen for e.g. Progress Events? One thing I thought is to have the delegate fire off progress events that a...

Cairngorm Framework

Hi All, I want to learn cairngorm framework. Can any one please suggest to me which tutorial makes it easy to understand the cairngorm framework, and please provide me the links of the tutorial. Thanks, Ravi ...

Flex Cairngorm - How to update the model without losing focus in Datagrid ?

Hi, In my Flex Project using Cairngorm, I have a model that stores a bindable ArrayCollection displayed by a DataGrid. My problem occurs when the model is updated by the responder (from a Java service, after an "update" event), because the focus located in a cell of the DataGrid is lost (the scroll position il also lost). So, I retrieve...

What the best way to coordinate loading initial values in syncronized Combo-Boxes & List Box

Environment: Flex/As3/Cairgorm/composite component. I have two comboboxes and two datagrids such that the selection of combobox 1, inserts data into combobox two and the fist datagrid. The selection of combobox 2 inserts data into datagrid 2. I have setup the change event so that the user selection on each of the combo boxes do the...

Unable to refresh tree control with new branches from successful RemoteObject call

I'm trying to populate a mx:tree component with values that I'm getting from BlazeDS. The returned data from BlazeDS is fine - it's an ArrayCollection of Folder value objects. I've been instructed to use Cairngorm for this project. I'm pretty new to Flex and Cairngorm. According to the limited documentation that I've read online I shoul...

Flex, Cairngorm and XML-RPC

I'm new to Flex, and Cairngorm so bear with me... I need to integrate a Flex application with a Magento site. I prefer to do it with XML-RPC instead of web services because of speed and our other applications integrate via this method. I'm using the as3-rpclib to do the XML-RPC communication. I can get things to talk, but timing is ...

How can I test for an event sequence in FlexUnit 4?

I have a component that, on creation, dispatches two events to populate data fields. The events should remain separate because they're used elsewhere for distinct actions. I want to write an asynchronous flexunit test to confirm that these events are both sent. The problem is, they're both variants of the same event. Here's the code: ...

A newbie question on cairngorm

I am very new to Flex (started learning a couple of days back), I now have some understanding on how to create user interfaces with Flex and how to do MVC with Cairngorm and I really started liking it. But I am still lost with changing views using Cairngorm or entirely in Flex. Being a Java/J2EE developer for more than 10 years, it helps...

Is there a jquery micro-architecture similar to cairngorm for Flex?

Is there a jquery micro-architecture similar to cairngorm for Flex? That helps development a lot. It makes it more disciplined, and layers out the code. Is there a good starting point that I have to look up, before starting coding in jquery. I would like the code to be extensible and maintainable. ...

[Programming General] Advantages of using software framework

Hello, I was reading these days about large projects implementation in python and Flex, and very often people praise the use of framework (like Cairngorm, PureMVC or others) over traditional OOP coding. I think i dont really understand the advantage of using FW, which is the strong point over classic programming? how big should be the ...

Having trouble with binding

I'm not sure if I'm misunderstanding the binding in Flex. I'm using Cairngorm framework. I have the following component with code like: [Bindable] var _model:LalModelLocator = LalModelLocator.getInstance(); .... <s:DataGroup dataProvider="{_model.friendsSearchResults}" includeIn="find" ...

How to handle events within the accordian control in flex

Inside of accordion panel, we have some containers like canvas,vbox etc. within that containers have some components like button,link button etc. How to raise events for button and link buttons using addeventListener ` <mx:Accordion width="100%" height="100%" id="crmEntities" > <mx:Canvas id="CompanyView" label="Company" width="...

how much effective is a frameworks for RIA in long run ?

hi , i am pretty newbie in terms of flex/RIA frameworks. mostly done work on server side. as i search on internet , people are using a lot different framework, cairngorm to mate. so my question is , as i am baby stepping through flex, should i go for learning framework ? or without framework ? ( as of now , those DI,DAO,VO and IoC doesnt...