Questions tagged [cairngorm]
Cairngorm is an open source frameworks for application architecture in Adobe Flex. Is is based on the MVC model.
93
questions
0
votes
1
answer
114
views
Definition mx.binding.utils.BindingUtils could not be found similar couple of imports not loading
I got chance to migrate Flex application to Apache Royale, able to run helloworld applications. started migrating Application, getting couple of exceptions. bellow is the one.
we are using the
...
0
votes
1
answer
625
views
Maven compile error: unable to load SWC
I'm trying to build a Flex project using Maven 3.1.1 and during the compile phase, I'm getting the error "Unable to load SWC cairngorm-2.2.1.swc".
I have the following dependencies declared in the ...
0
votes
1
answer
190
views
Flex 3 - ActionScript - Cairngorm DispatchEvents - How to know it's complete
I'm using flex 3 with cairngorm framework.
At some point in my program i dispatch an event, like this:
CairngormEventDispatcher.getInstance().dispatchEvent(new eventExample [...]
is there some way ...
0
votes
1
answer
102
views
Conversion of Date into string in java when storing in database
there is a value object processVO having date variable of string type in it( with getter & setter) .I am trying to populate it in in my DAO class in following way:- PreparedStatement.setString(...
0
votes
1
answer
101
views
Can RemoteObjects be used with Granites´s Tide to enable Lazy Loading?
We have a Spring+Hibernate+Mysql+Flex/Cairngorm(2)/BlazeDS application. We need to update this application so it can scale better, specifically we need to use the lazy loading feature. So we decided ...
0
votes
1
answer
1k
views
AMF message error java.io.EOFException implementing graniteDS
Hopefully someone can help me with this.
I'm working on a project with Spring MVC + Hibernate + Tomcat 7 in the backend and blazeDS + Cairngorm in the frontend, and we need to migrate from blazeDS to ...
0
votes
1
answer
373
views
flex cairngorm addComand not work
Hey everybody) I need help with the understanding of the framework Cairngorm for flex.
I code a simple application slider. I have a main class in which I have a tag
<fx:Declarations>
<...
0
votes
1
answer
302
views
Method injection in Parsley
Is it possible to inject method using parsley framework in flex application ?
I am able to inject the class itself but is it possible for method to be injected.
0
votes
1
answer
274
views
MessageHandler captured in various tabs - Flex
The architecture is based on the use of the following frameworks: Flex, Cairngorm and Parsley.
I use a dispatcher with an event "AdicionarItemVendaMercadoriaEvent" within a popuppanel: PopupPanel.
I ...
0
votes
1
answer
1k
views
best MVC framework for Adobe Flex
I need to develop a web conferencing app in Adobe flex, was actually confuse about the MVC framework I can use I have done a some research and found two main contenders
1- Robot Legs
2- Cairngorm
...
0
votes
1
answer
196
views
Cairgrom ModuleLoader memory leaks?
I also found this topic but it doesn't fix my problem other topic
I have a module loader that load other swc's but when I look at the memory off the application it seems that each time a module gets ...
0
votes
2
answers
686
views
cairngorm vs mate framework comparison in flex
I have been developing applications in cairngorm framwork in flex for over 2 years.
Now I have to develop applications using Mate framework. I have no idea about Mate framework and which one is better ...
0
votes
1
answer
325
views
Not assigning data from java VO to Flex VO using cairngorm
I have a few values in Java VO, and using cairgorm framework, i had mapping the Java VO to Action script VO in Flex and given same variables name as java Vo variables name. Now the Vo is mapping fine ...
0
votes
1
answer
231
views
Error: cannot add .mxml file to project
I have a project .swc made with maven. the build is successful.
If I add the project to Flashbuilder, i get no errors.
But if i add a .mxml file with flashbuilder, so its generated from flashbuilder.
...
0
votes
1
answer
188
views
Unable to create SqlMap for PersistenceClient with Cairngorm Persistence Library
i am trying to create a persistence client object in the following way:
var create:Create = new Create();
create.sql = "CREATE TABLE IF NOT EXISTS REPOFILE( REPOFILEID INTEGER PRIMARY KEY ...
1
vote
0
answers
371
views
How cairngorm suites for Flex 4.5 mobile application
Can cairngorm framework suites for developing mobile application using flex 4.5 ?
0
votes
1
answer
280
views
How cairngorm framework works internally
I had gone through many documents, no where mentioned how cairngorm framework works internally, means, how cairngorm Event, frontController, BusinessDelegate,ServiceLocator,Commands works and why we ...
0
votes
1
answer
272
views
Reading server URL from ActionScript 3 for Cairngorm configuration
I need to read the URL that the browser shows when a Flex application is called because I would to reference it in a mxml configuring Cairngorm remote objects.
The goal I would reach is to ...
2
votes
1
answer
999
views
Why are Java value objects coming back as Generic Flex objects?
I will try to give as much detail as I can.
I am creating an CRM application using Flex(Cairngorm 2)/Java/Hibernate.
The basic problem I am having is this:
I have a Customer class in Java that has ...
0
votes
2
answers
455
views
how to see this class CairngormEvent source code?
import com.adobe.cairngorm.control.CairngormEvent;
public class ConfigurationEvent extends CairngormEvent {
i can not see this CairngormEvent.swc i don't know which .swc file could i add in lib?
...
1
vote
1
answer
438
views
Flex Cairngorm 3 Presentation Model Initializations
ok so I have a TitleWindow that I open up... and I have 6 states defined. I am using the Presentation model pattern for all of my views. I have discovered a frustrating nuance. When I tell my ...
0
votes
1
answer
2k
views
Cairngorm Model Locator Pattern
In Cairngorm (Flex Framework), there is Model Locator Pattern, which is similar to Global variables, is it a right pattern, Adobe is saying for flex its best pattern
Adobe Consulting team conceived ...
0
votes
0
answers
116
views
PresentationModel - Command feedback
i use Cairngorm 2.2 with PresentationModel-Pattern, as i understood it (PresentationModel holds the view logic and dispatches CairngormEvents to trigger Commands).
What is a proper solution to get ...
0
votes
2
answers
170
views
Where is the M in MVC? [closed]
The question I am going to ask was inspired by my latest work with the Flex platform (and some frameworks pretending to implement MVC), but I think it's general enough to involve people with various ...
1
vote
2
answers
685
views
How to turn a flex online application into a desktop application?
I we have been working for some years in a flex (cairgorn)+spring+blazeDataservice application using blazeDataservice to connect to the back end, now its getting kind of big and takes too much time ...
1
vote
3
answers
444
views
Flex-Cairngorm/Hibernate - Is EAGER fetching strategy pointless?
I will try to be as concise as possible. I'm using Flex/Hibernate technologies for my app. I also use Cairngorm micro-architecture for Flex. Because i'm beginner, i have probably misunderstand ...
1
vote
2
answers
384
views
ModuleMessageInterceptor vs MessageInterceptor
I am developing an application in Flex using the cairngorm module library and Parsley.
Parsley documentation chapter 5 says: "Interceptors may come in handy when you want to decide whether or not the ...
0
votes
1
answer
77
views
Reduing the layer complexity of a Cairngorm based application
Could tools like SWFAddress be used in some clever ways to alleviate an existing client-server architecture. I see possibilities to even introduce REST-like pattern mapping or something like that.
...
0
votes
1
answer
143
views
Question Binding
HiI have some code. I use Cairngorm.I create a simple command, controller, event, modelLocator, model and view.In my view I have a textInput bind with a variable 'value' form my model
<s:TextInput ...
1
vote
2
answers
442
views
Adding elements in Flex using the presentation model
I'm refactoring some Flex code written by another developer and I'm implementing a PresentationModel approach, as I like to separate out the ActionScript from the MXML. One of the problems I've found ...
1
vote
4
answers
4k
views
Best way to do events with the PopUpManager?
If I am using the PopUpManager to add a child, and I dispatch an event from that child, the bubbles don't seem to bubble to the top of my application (main application).
For instance:
PopUpManager....
1
vote
2
answers
467
views
Cairngorm Fault Handler
According to Cairngorm architecture, we always have a fault handler in every command class for each service.
How we can create a single Class for handling Fault handler event for all the services.
2
votes
3
answers
1k
views
Cairngorm SequenceTask + URLLoader throws SecurityError because of missing user interaction
I am trying to get an application to upload multiple client side generated images (not files, hence I can't use FileReference), while displaying the progress of the upload. This has proved to be way ...
4
votes
2
answers
818
views
Current_user nil after creating a session in ROR with AuthLogic
I'm having a bit of problems with AuthLogic and current_user.
I have a Flex4 application using the Cairngorm framework as the front-end, and Ruby On Rails as the back-end.
I can log in fine ...
0
votes
2
answers
279
views
Flex Caringorm calling multiple command in one call (Queue Command)
I want to call 3 commands one by one , the relation between each commands are command should execute one by one in the previous command result. How to Queue Command's? What is the best practice to ...
0
votes
1
answer
434
views
Flex Search Interface: Load XML or Query DB
For a Flex application that is used to search and display results (no write operations), I am currently storing data in a relational database,
but rather than querying the DB via the app, I am doing ...
0
votes
1
answer
76
views
What's the smallest size a cairngorm project can be?
That is , what's the size of the bootstrap code for cairngorm framework which is based on flex?
0
votes
2
answers
1k
views
How do you use Parsley framework in Flex Hero 4.5
I was wondering if Parsley framework is compatible for Flex Hero Mobile 4.5? I seem to get a warning saying it's not compatible.
Thanks guys
3
votes
1
answer
3k
views
Channel.Ping.Failed error Detected duplicate HTTP-based FlexSessions What's the root cause?
Hi
I've downloaded the Cairngorm3 Simple Sample Application from here.
There's a few steps.
a) Download the server-side zip. It contains a PDF instructing how to start a HSQLDB database and get a ...
0
votes
2
answers
379
views
Framework model for AIR and Android applications.
Can someone please suggest me some good framework (officially released) to follow for developing AIR Desktop and android applications just like Cairngorm for flex web applications.
Thanks
Piyush G.
0
votes
1
answer
85
views
Is it possible to compile a flex project that uses Cairngorm with command line?
Has anyone tried to compile a flex project that uses Cairngorm with command line?
1
vote
2
answers
1k
views
Set time 5 seconds to dispatch cairngorm event in flex
I have a live chart. I need to refresh the chart with 5 seconds time interval.
For displaying the live chart i disptach the event (myEvent) extends cairngormevent.
And after 5 seconds , the same ...
0
votes
1
answer
347
views
Date issue in Client(Flex) and Serverside(JAVA) issue
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 ...
1
vote
3
answers
462
views
Why is my object reference null when trying to reference an mx:Canvas from ActionScript?
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 ...
0
votes
2
answers
991
views
first value should be selected when loading the data in ComboBox
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 ...
2
votes
1
answer
501
views
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 ...
0
votes
1
answer
823
views
How do I FlexUnit Test Parsley commands?
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
0
votes
1
answer
238
views
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
1
vote
6
answers
988
views
Why use Flex instead of HTML/AJAX/PHP frameworks?
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 ...
0
votes
1
answer
148
views
Hidden Features of cairngorm
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.