Re: [flexcoders] cairngorm flash lite/AS2 version

2007-01-11 Thread greg h
Robin, I am not in the mobile space. However at MAX Steven Webster had "Cairngorm 2 Mobile Edition" on the roadmap. Steven's slides (PDF downloadable at the link following) said "Will be available for download on Adobe Labs shortly…". I just checked labs and I still to not see it there. http:/

RE: [flexcoders] [Cairngorm] Command calling another command

2007-01-09 Thread Dimitrios Gianninas
Its quite normal and a used practice. In such case also look at the SequenceCommand class within the framework. Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Collin Peters Sent

Re: [flexcoders] Cairngorm ServiceLocator

2007-01-05 Thread Clint Modien
oups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Clint Modien *Sent:* January 5, 2007 3:41 PM *To:* flexcoders@yahoogroups.com *Cc:* Ben Lucyk *Subject:* RE: [flexcoders] Cairngorm ServiceLocator I'm assuming you've seen my second email by now but… the reason is because you're ca

RE: [flexcoders] Cairngorm ServiceLocator

2007-01-05 Thread jason.proulx
coders@yahoogroups.com Cc: Ben Lucyk Subject: RE: [flexcoders] Cairngorm ServiceLocator I'm assuming you've seen my second email by now but... the reason is because you're calling the static ServiceLocator.getInstance() method. The ServiceLocator class is a singleton as we

RE: [flexcoders] Cairngorm ServiceLocator

2007-01-05 Thread Clint Modien
_ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, January 05, 2007 12:13 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Cairngorm ServiceLocator I traced through the code, com.adobe.cairngorm.business.ServiceLocator refers to

Re: [flexcoders] Cairngorm ServiceLocator

2007-01-05 Thread Martin Wood-Mitrovski
the cairngorm service locator just checks to see if it has a property with the name of the service defined if(this [ serviceId ] == null) // throw an error if it exists then just return it : return this[ serviceId ]; its a common actionscript technique to access object properties dynamically

RE: [flexcoders] Cairngorm ServiceLocator

2007-01-05 Thread jason.proulx
uary 5, 2007 3:00 PM To: flexcoders@yahoogroups.com Cc: Ben Lucyk Subject: RE: [flexcoders] Cairngorm ServiceLocator The code is opensource so you can see how it works... here's the call it makes. (This is cairngorm v2) From: flexcoders@yahoogroups.com [mail

RE: [flexcoders] Cairngorm ServiceLocator

2007-01-05 Thread Clint Modien
Oops wrong key... The code is opensource so you can see how it works... here's the call it makes. (This is cairngorm v2) /** * Return the WebService for the given service id. * @param serviceId the service id. * @return the RemoteObject. */ public func

Re: [flexcoders] Cairngorm / MVC Best Practice

2007-01-05 Thread Martin Wood-Mitrovski
Tom Chiverton wrote: > On Friday 05 January 2007 14:51, Martin Wood-Mitrovski wrote: >> do these objects then implement some kind of interface to support the >> 'onCommandName(result)' method or do you type it in some other way? > > No, you could (should ?) write an interface class and import it t

RE: [flexcoders] Cairngorm ServiceLocator

2007-01-05 Thread Clint Modien
The code is opensource so you can see how it works... here's the call it makes. (This is cairngorm v2) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, January 05, 2007 10:53 AM To: flexcoders@yahoogroup

RE: [flexcoders] Cairngorm / MVC Best Practice

2007-01-05 Thread Stembert Olivier (BIL)
the view and the command are better decoupled with the ViewHelper pattern, no? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Friday, January 05, 2007 4:42 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders

Re: [flexcoders] Cairngorm / MVC Best Practice

2007-01-05 Thread Tom Chiverton
On Friday 05 January 2007 14:51, Martin Wood-Mitrovski wrote: > do these objects then implement some kind of interface to support the > 'onCommandName(result)' method or do you type it in some other way? No, you could (should ?) write an interface class and import it though, yes. As long as we rem

Re: [flexcoders] Cairngorm / MVC Best Practice

2007-01-05 Thread Martin Wood-Mitrovski
> We have all our Events take the current object as the first parameter > (i.e. 'this'). > The Command then calls > savedFromEventHome.onCommandName(result) > in onResult. > > Could that do what you want ? interesting. do these objects then implement some kind of interface to support the 'onC

Re: [flexcoders] Cairngorm / MVC Best Practice

2007-01-05 Thread Tom Chiverton
On Thursday 04 January 2007 22:03, Jamie O wrote: > 2) Is there a way - similar to how a delegate can have a series of > functionname_onResult, functionname_onFault - that you can have one > command deal with multiple onResult scenarios? We have all our Events take the current object as the first

RE: [flexcoders] Cairngorm / MVC Best Practice

2007-01-05 Thread Dimitrios Gianninas
1) A delegate can contain many methods pertaining to a particuliar section of your app. So many command will use the same delegate. 2) No. 3) Why exactly are u looking to do? 4) If I eliminate it... then where is the sample :) IF you have view, then it will dispatch various commands to do

RE: [flexcoders] Cairngorm

2007-01-04 Thread Dimitrios Gianninas
what exactly is the problem? are u trying to compile cairngorm yourself? or you ate trying to use cairngorm in an application? Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Edw

Re: [flexcoders] Cairngorm

2007-01-04 Thread Tom Chiverton
On Thursday 04 January 2007 07:42, Edward Dias wrote: > I am a newbie to flex...I downloaded the Cairngorm framework and when I > compile it it soes not produce a swf nor a .html file. Do I need any server > for it.Please advice. No, you need an application to use the framework. -- Tom Chivert

RE: [flexcoders] Cairngorm Architecture Question - How to Implement a Workflow

2007-01-03 Thread Dimitrios Gianninas
Is each view in a Viewstack... so it is as easy as changing the selectedIndex? I assume so. So from the command change the index which is in the model like so: ModelLocator.myStackIndex = 2; Then bind that variable to the stack: Dimitrios Gianninas RIA Developer Optimal Payments Inc.

Re: [flexcoders] Cairngorm & FMS

2007-01-02 Thread Thijs Triemstra
Where do you create the NetConnection? I want to use Cairngorm for a Red5 test app [1] and was thinking of adding NetConnection support to the ServiceLocator. Cairngorm's ServiceLocator supports http, remoteobject, webservice and fds but i don't see FMS/netconnection support.. Maybe NetStr

Re: [flexcoders] Cairngorm Store, Best Practice Question: Containers

2006-12-23 Thread Ralf Bokelberg
What would be the alternative? I mean, if you need nested containers, you need them. Our projects are nested 15 levels deep and more and i never found that performance is bad. Premature optimization is the root of all evil :) Cheers, Ralf. On 12/23/06, lostinrecursion <[EMAIL PROTECTED]> wrote:

Re: [flexcoders] Cairngorm 2.1 - calling a webservive more than once

2006-12-22 Thread Paolo Bernardini
I have a similar issue, when I call webservices more than once whit cairngorm 2.1, that I still haven't solved. Now you have to manually call webService.loadWSDL(), plus there is another weird thing happening that didn't happen with version 2.0. basically it changes the way I'm accessing the

RE: [flexcoders] Cairngorm 2.1 - calling a webservive more than once

2006-12-21 Thread Robin Burrer
oders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dirk Eismann Sent: Thursday, 21 December 2006 6:30 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Cairngorm 2.1 - calling a webservive more than once Any change you're calling loadWSDL() more than once on your WebService inst

RE: [flexcoders] Cairngorm 2.1 - calling a webservive more than once

2006-12-21 Thread Dimitrios Gianninas
In 2.1 you have to initialize the webservice yourself, it doesnt do it for you anymore. Search the list to find the answer, it was talked about before. Dimitrios Gianninas RIA Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PRO

RE: [flexcoders] Cairngorm 2.1 - calling a webservive more than once

2006-12-20 Thread Dirk Eismann
54 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Cairngorm 2.1 - calling a webservive more than once I switched back to v 2.0 and all works fine now. I don't really have the time to debug this. I'm quite happy with version 2.0 and don

Re: [flexcoders] Cairngorm 2.1 - calling a webservive more than once

2006-12-20 Thread Bjorn Schultheiss
with version 2.0 and don’t really see a reason to “upgrade” …. Thanks for your reply anyway! Robin From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Clint Modien Sent: Thursday, 21 December 2006 4:37 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Cair

RE: [flexcoders] Cairngorm 2.1 - calling a webservive more than once

2006-12-20 Thread Robin Burrer
lexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Clint Modien Sent: Thursday, 21 December 2006 4:37 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Cairngorm 2.1 - calling a webservive more than once Add this to your Application mxml file. 2 If you can

Re: [flexcoders] Cairngorm 2.1 - calling a webservive more than once

2006-12-20 Thread Clint Modien
Add this to your Application mxml file. 2 If you can paste the soap going back and forth to the list it would help to diagnose your problem. You could also grab a program called ServiceCapture to grab the soap messages. http://kevinlangdon.com/serviceCapture/ On 12/20/06, Robin Burr

Re: [flexcoders] Cairngorm for Actionscript 3.0 projects

2006-12-20 Thread Tom Chiverton
On Monday 18 December 2006 12:23, Webdevotion wrote: > Is it allright to use Cairngorm for AS 3 projects? > I'm getting up to speed with Flex and AS 3.0 and > want to start learning some relevant frameworks. You'll need version 2.0 or 2.1 of Cairngorm. -- Tom Chiverton Helping to economically co

Re: [flexcoders] Cairngorm: Event to Command Decision Making (Cairngorm Store 2.0)

2006-12-08 Thread Douglas McCarroll
Hi Kenny, 1. NewScreenEvent - Hmm... This isn't a CairngormEvent - rather it extends flash.events.Event. It is used only in Checkout.mxml and its subcomponents. It makes sense to me to keep this within this part of the view as nothing else 'needs to know'. If something else did need to know I

Re: [flexcoders] Cairngorm Newbie Question - Please set me straight

2006-12-05 Thread Douglas McCarroll
Hi Steve, I'm going to take a stab at this as I've been studying the Command pattern (as defined in GoF) and Cairngorm lately. In fact I'll be presenting on the subject here in Boston tomorrow evening, so this is right up my alley. (www.bfpug.us) :-) > how do you handle 6 different results s

Re: [flexcoders] Cairngorm Newbie Question - Please set me straight

2006-12-05 Thread hank williams
On 12/5/06, stevehousefl <[EMAIL PROTECTED]> wrote: > I have a command that I would like to have pull lookup data from 6 > different BusinessDelegates. Should that one command call all 6 > delegates or should it fire 6 new events that call 6 new commands? > > If the one command should call all 6 d

Re: [flexcoders] Cairngorm ServiceLocater Problem

2006-11-29 Thread Tom Chiverton
On Wednesday 29 November 2006 08:53, sinacapho wrote: > application . It prompt and say that "The ServiceLocater can only > instantied once ". What i can do? is that i need to put all the service > in the business folder ? Post a couple of examples of your use of the ServiceLocator, and we'll see.

Re: [flexcoders] Cairngorm ServiceLocater Problem

2006-11-29 Thread Douglas McCarroll
Capho, ServiceLocator is an implementation of the Singleton pattern which, in a nutshell, means that only one instance of the class should be created. Your code is somehow breaking this rule. Set a breakpoint in ServiceLocator.new() and ServiceLocator.getInstance() and run your app in debug mo

RE: [flexcoders] Cairngorm ViewHelper\ViewLocater Example?

2006-11-04 Thread Dimitrios Gianninas
IL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dimitrios GianninasSent: Friday, November 03, 2006 8:17 AMTo: [EMAIL PROTECTED]ups.comSubject: RE: [flexcoders] Cairngorm ViewHelper\ViewLocater Example? So the user sees like 4 panels in a tilelist and you want to make 3 dis

RE: [flexcoders] Cairngorm ViewHelper\ViewLocater Example?

2006-11-03 Thread Brian Holmes
[mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios GianninasSent: Friday, November 03, 2006 8:17 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Cairngorm ViewHelper\ViewLocater Example? So the user sees like 4 panels in a tilelist and you want to make 3 disappear and only the

RE: [flexcoders] Cairngorm ViewHelper\ViewLocater Example?

2006-11-03 Thread Dimitrios Gianninas
: Thursday, November 02, 2006 12:16 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Cairngorm ViewHelper\ViewLocater Example? Hi Dimitrios,  Thanks for the reply. I have a list of configurable panels that I'm displaying in a TileList. The user needs to be able to choose which on

RE: [flexcoders] Cairngorm ViewHelper\ViewLocater Example?

2006-11-02 Thread Brian Holmes
creen. That's really what I'm trying to do.   Thanks, Brian..   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios GianninasSent: Thursday, November 02, 2006 7:49 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Cairngorm ViewHel

RE: [flexcoders] Cairngorm ViewHelper\ViewLocater Example?

2006-11-02 Thread Dimitrios Gianninas
We dont really advocate the use of the ViewHelper/ViewLocator any more, only in extreme cases. If you want to see an example, I believe if you download the Cairngorm 1.5 distribution it will contain it. But the real question is, why are you thinking of using it?   Dimitrios Gianninas RIA

Re: [flexcoders] Cairngorm 2.1 with support for remoteCredentials

2006-11-01 Thread Tom Chiverton
On Wednesday 01 November 2006 03:19, João Fernandes wrote: > They support setCredentials() not setRemoteCredentials() Ahh :-) -- Tom Chiverton Helping to seamlessly accelerate dynamic networks This email is sent for and on behalf of Halliwel

RE: [flexcoders] Cairngorm 2.1 with support for remoteCredentials

2006-10-31 Thread João Fernandes
: [flexcoders] Cairngorm 2.1 with support for remoteCredentials On Monday 30 October 2006 17:07, João Fernandes wrote: > At MAX I asked if there would be support for setRemoteCredentials for FDS & > Remoting destinations when working with ColdFusion as back-end and the > answer wa

Re: [flexcoders] Cairngorm 2.1 with support for remoteCredentials

2006-10-31 Thread Tom Chiverton
On Monday 30 October 2006 17:07, João Fernandes wrote: > At MAX I asked if there would be support for setRemoteCredentials for FDS & > Remoting destinations when working with ColdFusion as back-end and the > answer was no. Are you planning to add this feature? Did I imagine reading that in the 2.1

Re: [flexcoders] Cairngorm 2.1 problem

2006-10-30 Thread Tom Chiverton
On Sunday 29 October 2006 09:30, Paolo Bernardini wrote: > I think there is a bug with the swf you download from labs. Anyone can > confirm this, or I'm missing something? Do you get network traffic of any sort from/to your app ? What about sticking some trace() into your app to confirm where it s

Re: [flexcoders] Cairngorm 2.1 problem

2006-10-30 Thread Paolo Bernardini
I try to call some httpServices and works fine, it only seams to stop working with webServices, I guess I'm doing something wrong. One question: Is there any necessary work to do in order to port a Cairngorm 2.0 to a Cairngorm 2.1 app? or you can just drop the new swc to replace the old one, eve

Re: [flexcoders] Cairngorm 2.1 problem

2006-10-30 Thread Paolo Bernardini
thanks for the reply Bjorn   I'm not sure what you mean, I can't see any DestinationLocator in the doc. If you are asking me if I replace the getService() method with getWebService() (I' using webservices not remote object) I did but like I said the services don't get called. If you could be mor

RE: [flexcoders] Cairngorm, dispatching application events and managing states

2006-10-25 Thread Dustin Mercer
Out of curiosity, what is it you want to do when the login happens.  I have only found a few things that were difficult to do from within a command.  If you can tell me what you want to do, I can tell you what I have done in the past and how I accomplished it from within a command.  In

RE: [flexcoders] (Cairngorm App) Advice on Deleting a VO, from a DataGrid containing an Array of VO's

2006-10-17 Thread Dimitrios Gianninas
Do it exactly as Bjorn said it... or use FDS, its built for that :) Dimitrios Gianninas Optimal Payments Inc. -Original Message- From: flexcoders@yahoogroups.com on behalf of Bjorn Schultheiss Sent: Tue 10/17/2006 8:25 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] (Cairngorm

RE: [flexcoders] cairngorm .99 to cairngorm 2

2006-10-14 Thread Alex Uhlmann
ia.com/auhlmann -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios Gianninas Sent: 14 October 2006 14:09 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] cairngorm .99 to cairngorm 2 Hi, Cairngorm 0.99 and 2.0 are very similar

RE: [flexcoders] cairngorm .99 to cairngorm 2

2006-10-14 Thread Dimitrios Gianninas
Hi, Cairngorm 0.99 and 2.0 are very similar so I dont think there is anything to watch out for in particuliar. Perhaps you might want to read an article by Alex just in case: http://weblogs.macromedia.com/auhlmann/archives/2006/07/cairngorm_2_for.cfm Dimitrios Gianninas Optimal Payments Inc.

RE: [flexcoders] Cairngorm commands - best practise

2006-10-14 Thread Evan Gifford
.       From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ben Lucyk Sent: Wednesday, October 11, 2006 11:19 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Cairngorm commands - best practise   I second this.   Ben Lucyk http

Re: [flexcoders] Cairngorm commands - best practise

2006-10-11 Thread Ralf Bokelberg
My delegates don't know about the model locator, but my commands do. So I vote for commands. Cheers, Ralf. On 10/11/06, hank williams <[EMAIL PROTECTED]> wrote: > So we have Tom saying do it in the delegate and Bjorn saying do it in > the command. > > Any tie breakers? > > Hank > > On 10/11/06, T

Re: [flexcoders] Cairngorm commands - best practise

2006-10-11 Thread hank williams
So we have Tom saying do it in the delegate and Bjorn saying do it in the command. Any tie breakers? Hank On 10/11/06, Tom Chiverton <[EMAIL PROTECTED]> wrote: > On Wednesday 11 October 2006 02:12, Robin Burrer wrote: > > However I also want to send the userID when I do my server request. > > Sh

Re: [flexcoders] Cairngorm commands - best practise

2006-10-11 Thread Tom Chiverton
On Wednesday 11 October 2006 02:12, Robin Burrer wrote: > However I also want to send the userID when I do my server request. > Should the SearchDatabaseCommand get the userID from the model or from I reasoned that passing any parameters not connected with what to do was no business of the Comman

RE: [flexcoders] Cairngorm commands - best practise

2006-10-10 Thread Robin Burrer
October 2006 12:36 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Cairngorm commands - best practise   Hmm... I'm not sure, but I dont think you understood the question. Your answer, as far as I can tell, does not seem responsive. But I'm not sure that I could repeat i

Re: [flexcoders] Cairngorm commands - best practise

2006-10-10 Thread hank williams
Hmm... I'm not sure, but I dont think you understood the question. Your answer, as far as I can tell, does not seem responsive. But I'm not sure that I could repeat it and make it any clearer than robin's initial question. Perhaps you could re-read it. Regards,HankOn 10/10/06, Bjorn Schultheiss

Re: [flexcoders] Cairngorm commands - best practise

2006-10-10 Thread hank williams
Funny, I was just dealing with this same question. I did it at the command because it seemed to me that is where all the application logic should go and so any additional processing and data handling that must be done should be done in the command. But I wasnt 100% sure. That was my gut. I would

Re: [flexcoders] cairngorm for flex 2

2006-10-01 Thread Douglas McCarroll
http://labs.adobe.com/wiki/index.php/Cairngorm#Downloads relisanhard52 wrote: > > Hi > Where can I find download for cairngorm for flex 2. > Please advise. > > Tks. > > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www

Re: [flexcoders] Cairngorm 2 - Sample Application?

2006-09-22 Thread Tom Chiverton
On Thursday 21 September 2006 02:35, Gareth Edwards wrote: > I went to download the PhonesCairngorm2.zip and it gives me a 403 Forbidden > error, could someone please email me the file, or point me in the direction > of getting the file from another location? The Adobe Labs site recommends http://

Re: [flexcoders] Cairngorm 2 - Sample Application?

2006-09-21 Thread Douglas Knudsen
http://www.cubicleman.com/2006/08/25/cmorgchart-releasedfinally/and another exampleDKOn 7/26/06, Hua Wei <[EMAIL PROTECTED]> wrote: Here are two great examples :Benoit Hediard has one for coldfusion RemoteObjecthttp://www.benorama.com/flex/samples/PhonesCairngorm2.zip JesterXL has one for webse

Re: [flexcoders] Cairngorm 2 - Sample Application?

2006-09-20 Thread Gareth Edwards
I went to download the PhonesCairngorm2.zip and it gives me a 403 Forbidden error, could someone please email me the file, or point me in the direction of getting the file from another location?CheesrGareth.On 7/27/06, Hua Wei <[EMAIL PROTECTED]> wrote:Here are two great examples : Benoit Hedia

Re: [flexcoders] Cairngorm - Call function inside View Component

2006-09-14 Thread Tom Chiverton
On Wednesday 13 September 2006 23:56, Pete Capra wrote: > I have a view component that is nested inside the application, and it has a > public function that selects an item on a Tree (manually, instead of the > user doing it). I want the function to be called after a result handler > fires from a R

RE: [flexcoders] Cairngorm... Where should this go?

2006-09-07 Thread Dimitrios Gianninas
Put a method to handle the validation of the form or forms in the view. Then when the user presses the button, validate the form(s) and if all is ok then fire the event that calls your command to do whatever you want.   Dimitrios Gianninas RIA Developer Optimal Payments Inc.   From: fl

RE: [flexcoders] Cairngorm with DataServices - addItem() error

2006-08-28 Thread Jeff Vroom
To get notification of updates such as “addItem”, turn off autoCommit and then call ds.commit() after each update.  This returns a token which you can use to be notified of any result or error.   Jeff   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

Re: [flexcoders] Cairngorm and MVC: Quickie

2006-08-23 Thread Tom Chiverton
On Wednesday 23 August 2006 02:03, Darren Houle wrote: > Very true. Alternatively you could create these three data structure > within the one ModelLocator and refer to them like... > model.biz.userRole = ... > model.core.adminViewStackState = ... > model.icon.deleteButton = ... I would tend to g

RE: [flexcoders] Cairngorm and MVC: Quickie

2006-08-22 Thread Darren Houle
>Start off with one model for your app and as your application grows, you >will probably see the need to refactor. At that time, create a second model >and so on and so forth. Just to give u a quick idea, I have 3 models in my >current project: >BizModel - hold main data that actually goes back

RE: [flexcoders] Cairngorm eLearning Course and Quiz - who's in?

2006-08-22 Thread Evan Gifford
Ok, cool … I’ve got a few off-list responses to this, looks like we’ll have the horsepower to make this thing run!   I’m still looking for an animator/storyboarder if anyone would like to help with that aspect, otherwise let’s get started this weekend.   For those of you who have e

RE: [flexcoders] Cairngorm and MVC: Quickie

2006-08-21 Thread Dimitrios Gianninas
Start off with one model for your app and as your application grows, you will probably see the need to refactor. At that time, create a second model and so on and so forth. Just to give u a quick idea, I have 3 models in my current project:   BizModel - hold main data that actually goes bac

RE: [flexcoders] Cairngorm and MVC: Quickie

2006-08-21 Thread Darren Houle
Yup, you got it. To be even more specific... 1:N Views A) bind to data in the 1 ModelLocator (which contains 0:N Models/VO's) and B) broadcast 1:N Events to the 1 FrontController which maps Events to 1:N Commands which may create 0:N Delegates which trigger 0:N Services (using 1

RE: [flexcoders] Cairngorm and MVC: Quickie

2006-08-21 Thread Bjorn Schultheiss
Yes, although i have heard of succesful implementations that use more than 1 controller and locator. I think that, that is the idea until it doesn't satisfy your requirements anymore   Regards,   Bjorn Schultheiss Senior Flash Developer QDC Technologies   From: flexcoders@yahoogroups.com

RE: [flexcoders] Cairngorm on Labs

2006-08-21 Thread Dirk Eismann
Hi, some thoughts: 1) update the manifest file and add all Cairngorm classes to it 2) add the DestinationLocators provided by Peter Martin 3) update the library project so the SWC compiles against the Flex 2 framework without linking it (i.e. set the link type of the external Flex 2 SWCs to exter

Re: [flexcoders] Cairngorm objects in debugger

2006-08-18 Thread Dominick Accattato
Lisa, are you using the cairngorm swc or the source directory?On 8/18/06, Lisa Nelson <[EMAIL PROTECTED]> wrote:  Does anyone have trouble seeing into their Cairngorm objects in the debugger?  For instance, I have an object that extends org.nevis.cairngorm

RE: [flexcoders] Cairngorm eLearning Course and Quiz - who's in?

2006-08-18 Thread Darren Houle
> A: Worth Doing – are interested in using the training for >yourself and/or your team Definitely > B: Would like to contribute in some way > -Script writer > -Storyboarder > -Expert Review Panel >

RE: [flexcoders] Cairngorm 2 - Event propagation problem

2006-08-17 Thread Darren Houle
Have you inlcuded the front controller tag in your login.mxml? You should have a line in login.mxml that looks something like... Without this line your program would still compile, but there wouldn't be a front controller to "hear" the cairngorm events. Other than that your code looks fi

Re: [flexcoders] Cairngorm 2 - Event propagation problem

2006-08-17 Thread Thomas Rühl -akitogo-
Hi hemantkamatgi, just a few things I recognized: 1. When dispatching the Cairngorm event, you shouldn't create two instances of the LoginEvent here... just one and pass it! > // { var eventObject : LoginEvent = new LoginEvent(); > // CairngormEventDispatcher.getInstance().dispatchEvent(new L

Re: [flexcoders] Cairngorm separation of action script and mxml

2006-08-01 Thread Paul BH
what you might want to look at is creating an adapter class to format your data, so it would be something like:myList:XMLList = myAdapter.adaptXML(xml)then in myAdapterpublic static function adaptXML(inXML:XML):XMLList{   //do ugly stuff}On 8/1/06, flxcoder <[EMAIL PROTECTED]> wrote:

Re: [flexcoders] Cairngorm: Managing Popup Windows

2006-07-30 Thread Douglas Knudsen
esterXL To: flexcoders@yahoogroups.com Sent: Sunday, July 30, 2006 4:49 PM Subject: Re: [flexcoders] Cairngorm: Managing Popup Windows I stand corrected.  A purist would argue that you should figure out why the row heights aren't working, but I'm with you; if it works, and gets do

RE: [flexcoders] Cairngorm - Invoking screens

2006-07-30 Thread Steven Webster
dinburgh, EH12 9DQ, UKp: +44 (0) 131 338 6108 m: +44 (0) 7917 428 947 [EMAIL PROTECTED]   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike BrittonSent: 30 July 2006 21:30To: flexcoders@yahoogroups.comSubject: Re: [fle

Re: [flexcoders] Cairngorm: Managing Popup Windows

2006-07-30 Thread JesterXL
...hey, wait a minute, I still win!  You're RTE DOES need to be modal.  *whew*   http://youbeat2trees.ytmnd.com/     - Original Message - From: JesterXL To: flexcoders@yahoogroups.com Sent: Sunday, July 30, 2006 4:49 PM Subject: Re: [flexcoders] Cairngorm: Managing Popup Wi

Re: [flexcoders] Cairngorm: Managing Popup Windows

2006-07-30 Thread JesterXL
2006 4:38 PM Subject: Re: [flexcoders] Cairngorm: Managing Popup Windows intersting to read this.  we are working on a datagrid that has complex data, two text fields, in one column.  We used a custom itemEditor with a RTE in it.  Nice, right? nope, sucked.  Can't quite seem to get the row h

Re: [flexcoders] Cairngorm: Managing Popup Windows

2006-07-30 Thread Douglas Knudsen
intersting to read this.  we are working on a datagrid that has complex data, two text fields, in one column.  We used a custom itemEditor with a RTE in it.  Nice, right? nope, sucked.  Can't quite seem to get the row height to expand contract as needed.  So, we went with a modal popup. DK On 7/

Re: [flexcoders] Cairngorm - Invoking screens

2006-07-30 Thread Mike Britton
Building a larger application involves a combination of view states and MXML components. Take JesterXL's Amazon search example: http://www.jessewarden.com/archives/2006/07/flex_2_webservice.html In this example, you can see the use of view states. This is how many "screens" can be combined into

Re: [flexcoders] cairngorm Events and data payloads

2006-07-27 Thread JesterXL
close.  Do this, but extend CairngormEvent like you are doing: http://www.darronschall.com/weblog/archives/000191.cfm     - Original Message - From: Douglas Knudsen To: flexcoders@yahoogroups.com Sent: Thursday, July 27, 2006 10:01 AM Subject: [flexcoders] cairngorm Events and dat

Re: [flexcoders] Cairngorm Examples

2006-07-27 Thread Vikas Bhatia
Try this, I have left the db access out of it, but if you are failiar with hibernate or the like, it should be fairly easy to plugin.http://flamingrain.com/blog/?p=4 On 7/27/06, Mark Wales <[EMAIL PROTECTED]> wrote: Are there any ultra-simple examples of Cairngorm using the GA of Flex 2that incl

Re: [flexcoders] Cairngorm Examples

2006-07-27 Thread Tom Chiverton
On Thursday 27 July 2006 14:35, Mark Wales wrote: > Are there any ultra-simple examples of Cairngorm using the GA of Flex 2 > that include the server-side java classes down to the data access > objects that might invoke a database? See the 'Cairngorm 2 - Sample Application?' thread in this very f

Re: [flexcoders] Cairngorm: Managing Popup Windows

2006-07-27 Thread JesterXL
Popups were really valuble in Flex 1.5. Most didn't know about the depth & scoping capabilites in Flash Player, nor needed to care. Popups worked great for putting stuff "above everything" and making it modal. Nowadays, with states and the DisplayList, the only valid reason I can see is modal

RE: [flexcoders] Cairngorm 2 - Sample Application?

2006-07-26 Thread Hua Wei
Here are two great examples : Benoit Hediard has one for coldfusion RemoteObject http://www.benorama.com/flex/samples/PhonesCairngorm2.zip JesterXL has one for webservice http://www.jessewarden.com/archives/2006/07/flex_2_webservice.html HTH Hua -Original Message- From: flexcoder

Re: [flexcoders] Cairngorm 2 - Sample Application?

2006-07-26 Thread JesterXL
Here's one, source at bottom: http://www.jessewarden.com/archives/2006/07/flex_2_webservice.html - Original Message - From: "jakana1566" <[EMAIL PROTECTED]> To: Sent: Wednesday, July 26, 2006 3:25 PM Subject: [flexcoders] Cairngorm 2 - Sample Application? I'm new to cairngorm and have

Re: [flexcoders] Cairngorm Events

2006-07-26 Thread Michael BADEN
I think you made a mistake when declaring your event listener: the method addEventListener accept as first parameter the event type and not the event class name.   Example :   package events { public static const EVENT_NAME : String = "myevent";  public class MyEvent {    public function MyEvent

Re: [flexcoders] Cairngorm Events

2006-07-26 Thread Tom Chiverton
On Wednesday 26 July 2006 07:07, Ryan Stewart wrote: > I'm still not entirely clear on the event model in Flex 2, so hopefully > this is an easy question. I want to add an event listener in one of my > flex view components that will listen for a CairngormEvent to be dispatched > and then run a fun

Re: [flexcoders] Cairngorm starter question

2006-07-20 Thread Tom Chiverton
On Thursday 20 July 2006 01:03, Dimitrios Gianninas wrote: > account", "search accounts", etc... Don't know exactly what to call these, > they are complex events that will affect many things (data and views). We've got a sort-of-vague-rule that says 'if everything you are doing is only view-local

RE: [flexcoders] Cairngorm starter question

2006-07-19 Thread Dimitrios Gianninas
Hi,   First, no need to use Cairngorm for such a simple thing as playing a video. You should use cairngorm for such gestures as "create account", "edit account", "search accounts", etc... Don't know exactly what to call these, they are complex events that will affect many things (data and

Re: [flexcoders] Cairngorm 2.0 What does it look like after logging in?

2006-07-13 Thread Tom Chiverton
On Thursday 13 July 2006 00:37, dprasad830 wrote: > be more things displayed on this screen? The status area of the > browser keeps saying "Read Localhost" like it's trying to load That's normal. -- Tom Chiverton This email is sent for and o

Re: [flexcoders] Cairngorm ServiceLocator and FDS

2006-07-12 Thread JesterXL
Yeah, sounds like what you have for DataService works.  I haven't spent time with DataService.   - Original Message - From: Dimitrios Gianninas To: flexcoders@yahoogroups.com Sent: Wednesday, July 12, 2006 9:11 AM Subject: RE: [flexcoders] Cairngorm ServiceLocator and FDS

RE: [flexcoders] Cairngorm ServiceLocator and FDS

2006-07-12 Thread Dimitrios Gianninas
.   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JesterXLSent: Tuesday, July 11, 2006 11:29 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Cairngorm ServiceLocator and FDS This one's long!   Before I gave up on FDS, I had a few ideas that seemed to work

Re: [flexcoders] Cairngorm ServiceLocator and FDS

2006-07-11 Thread JesterXL
nd message. Can't use the regular Responder interface in Cairngorm, so I created a DataServicesResponder interface.   Dimitrios Gianninas RIA Developer Optimal Payments Inc.   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios GianninasSent: Tuesday, July 1

RE: [flexcoders] Cairngorm ServiceLocator and FDS

2006-07-11 Thread Dimitrios Gianninas
s Inc.   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios GianninasSent: Tuesday, July 11, 2006 9:05 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Cairngorm ServiceLocator and FDS Glad to see I'm not crazy :) With this thread this afternoon, I wa

RE: [flexcoders] Cairngorm ServiceLocator and FDS

2006-07-11 Thread Dimitrios Gianninas
delegate, but seems redundant, so still thinking   Dimitrios Gianninas RIA Developer Optimal Payments Inc.   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steven WebsterSent: Tuesday, July 11, 2006 5:32 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] C

RE: [flexcoders] Cairngorm ServiceLocator and FDS

2006-07-11 Thread Bjorn Schultheiss
QDC Technologies -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of João Fernandes Sent: Wednesday, 12 July 2006 8:43 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Cairngorm ServiceLocator and FDS Steven, I can understand your

RE: [flexcoders] Cairngorm ServiceLocator and FDS

2006-07-11 Thread João Fernandes
: [flexcoders] Cairngorm ServiceLocator and FDS Hey Mike, So that's an interesting question you ask; our intention for ServiceLocator is support for the RPC services in Flex ... at least that is the heritage of the ServiceLocator from Flex 1.5, and that's how we've personally been usi

RE: [flexcoders] Cairngorm ServiceLocator and FDS

2006-07-11 Thread Steven Webster
Hey Mike,   So that's an interesting question you ask; our intention for ServiceLocator is support for the RPC services in Flex ... at least that is the heritage of the ServiceLocator from Flex 1.5, and that's how we've personally been using it in Flex 2.   For the Flex Data Services apps t

RE: [flexcoders] Cairngorm ServiceLocator and FDS

2006-07-11 Thread Steven Webster
> Mike look this post: > > http://weblogs.macromedia.com/pmartin/archives/2006/06/cairngo > rm_2_sec.cfm > > DestinationLocator extends serviceLocator so you can replace > your serviceLocator tags in your services.mxml for > destinationLocator and put there your DataServices then use > Destina

<    1   2   3   4   5   6   >