Re: [flexcoders] Cairngorm 2.2.1 with Flex 4

2010-09-05 Thread claudiu ursica
Cairngorm 2.x is not officially supported anymore by Adobe. You'd be better of 
trying to move towards the Parsley framework (w/o) Cairngorm 3 libs. Or you can 
try a relatively new kid on the block Robotlegs.

C




From: pritesh_mics pbhaw...@deloitte.com
To: flexcoders@yahoogroups.com
Sent: Sun, September 5, 2010 12:30:56 PM
Subject: [flexcoders] Cairngorm 2.2.1 with Flex 4

   
Hi All,

I am using Cairngorm 2.2.1 with Flax-4, m getting an runtime error:

TypeError: Error #1006: getResourceBundle is not a function.
at com.adobe.cairngorm::CairngormError$cinit() 
at global$init()
[C:\dev\swat\projects\ac_emea
\Cairngorm\com\adobe\cairngorm\CairngormError.as:41]
at  RemoteObjects/getService()
[C:\dev\swat\projects\ac_emea\\
Cairngorm\com\adobe\cairngorm\business\RemoteObjects.as:79]

On some investigation I came to know that Cairngorm 2.2.1 not supports Flex-4, 
Can any one help me ?

Furthermore, I am a beginner in Flex and selected Cairngorm 2.x as a Framework 
for my project, Is it a good idea to go with ? 


Regards,
Pritesh


 


  

Re: [flexcoders] Cairngorm 2.2.1 with Flex 4

2010-09-05 Thread Jake Churchill
I recommend Swiz

Sent from my Droid

On Sep 5, 2010 7:14 AM, claudiu ursica the_bran...@yahoo.com wrote:



Cairngorm 2.x is not officially supported anymore by Adobe. You'd be better
of trying to move towards the Parsley framework (w/o) Cairngorm 3 libs. Or
you can try a relatively new kid on the block Robotlegs.

C

--
*From:* pritesh_mics pbhaw...@deloitte.com
*To:* flexcoders@yahoogroups.com
*Sent:* Sun, September 5, 2010 12:30:56 PM
*Subject:* [flexcoders] Cairngorm 2.2.1 with Flex 4




Hi All,

I am using Cairngorm 2.2.1 with Flax-4, m getting an runtime error:

TypeError: Error #...

 


Re: [flexcoders] Cairngorm/ Command/ AdvancedDataGrid.expandChildrenOf() ?

2010-04-18 Thread Jake Churchill
Download cairgorm extensions. nbsp;It has classes called Callbacks which 
basically notifies the view after a command has finished. nbsp;It's perfect 
for this situation.

-Jake



-- Sent from my Palm Prē
On Apr 18, 2010 1:02 PM, Nick Middleweek lt;n...@middleweek.co.ukgt; wrote: 


nbsp;



  



  
  
  
Hi,

I'm working on a cairngorm flex app and have been told to put all business 
logic inside the CG Command.

At the end of the CG Command, I need to get the ADG to expand it's grouping 
nodes for a particular node.




What is the correct way of solving this problem because from my Command, I 
can't 'see' the view.

Should I update the model from the Command and have a ChangeWatcher on the view 
to run the AdvancedDataGrid.expandChildrenOf() code?



Is there a right and wrong way of solving this?


Thanks,
Nick





 









  
  
  









Re: [flexcoders] Cairngorm/ Command/ AdvancedDataGrid.expandChildrenOf() ?

2010-04-18 Thread Nick Middleweek
Hi Jake,

Thanks for the info... I know this sounds crazy but because of project/
company politics we have extreem difficulty getting 3rd party libraries on
the project.

Are there any preferred alternative ways?


Cheers,
Nick



On 18 April 2010 19:11, Jake Churchill reyna...@gmail.com wrote:



 Download cairgorm extensions.  It has classes called Callbacks which
 basically notifies the view after a command has finished.  It's perfect for
 this situation.

 -Jake



 -- Sent from my Palm Prē

 --
 On Apr 18, 2010 1:02 PM, Nick Middleweek n...@middleweek.co.uk wrote:



 Hi,

 I'm working on a cairngorm flex app and have been told to put all business
 logic inside the CG Command.

 At the end of the CG Command, I need to get the ADG to expand it's grouping
 nodes for a particular node.


 What is the correct way of solving this problem because from my Command, I
 can't 'see' the view.

 Should I update the model from the Command and have a ChangeWatcher on the
 view to run the AdvancedDataGrid.expandChildrenOf() code?

 Is there a right and wrong way of solving this?


 Thanks,
 Nick





Re: [flexcoders] Cairngorm/ Command/ AdvancedDataGrid.expandChildrenOf() ?

2010-04-18 Thread Jake Churchill
Wel, just tell them it's an upgraded version of the cairngorm SWC. nbsp;You 
can just replace the SWC in the project and it'd be all good

-Jake


-- Sent from my Palm Prē
On Apr 18, 2010 1:46 PM, Nick Middleweek lt;n...@middleweek.co.ukgt; wrote: 


nbsp;



  



  
  
  
Hi Jake,

Thanks for the info... I know this sounds crazy but because of project/ company 
politics we have extreem difficulty getting 3rd party libraries on the project.

Are there any preferred alternative ways?




Cheers,
Nick



On 18 April 2010 19:11, Jake Churchill lt;reyna...@gmail.comgt; wrote:

















nbsp;



  



  
  
  
Download cairgorm extensions. nbsp;It has classes called Callbacks which 
basically notifies the view after a command has finished. nbsp;It's perfect 
for this situation.

-Jake





-- Sent from my Palm Prē


On Apr 18, 2010 1:02 PM, Nick Middleweek lt;n...@middleweek.co.ukgt; wrote: 


nbsp;




  
  
  
Hi,

I'm working on a cairngorm flex app and have been told to put all business 
logic inside the CG Command.

At the end of the CG Command, I need to get the ADG to expand it's grouping 
nodes for a particular node.






What is the correct way of solving this problem because from my Command, I 
can't 'see' the view.

Should I update the model from the Command and have a ChangeWatcher on the view 
to run the AdvancedDataGrid.expandChildrenOf() code?





Is there a right and wrong way of solving this?


Thanks,
Nick





 














 









  












 









  
  
  









Re: [flexcoders] Cairngorm/ Command/ AdvancedDataGrid.expandChildrenOf() ?

2010-04-18 Thread Nick Middleweek
Hey Jake,

Cheers for the response... I've gone with a ChangeWatcher approach. Update
the model from the command and I've dropped in the ChangeWatcher in the
view, seems to be working but was curious who others would solve this...

I'll look into CG Extensions though, cheers for the idea!


Nick





On 18 April 2010 20:29, Jake Churchill reyna...@gmail.com wrote:



 Wel, just tell them it's an upgraded version of the cairngorm SWC.  You can
 just replace the SWC in the project and it'd be all good


 -Jake


 -- Sent from my Palm Prē

 --
 On Apr 18, 2010 1:46 PM, Nick Middleweek n...@middleweek.co.uk wrote:



 Hi Jake,

 Thanks for the info... I know this sounds crazy but because of project/
 company politics we have extreem difficulty getting 3rd party libraries on
 the project.

 Are there any preferred alternative ways?


 Cheers,
 Nick



 On 18 April 2010 19:11, Jake Churchill reyna...@gmail.com wrote:



 Download cairgorm extensions.  It has classes called Callbacks which
 basically notifies the view after a command has finished.  It's perfect for
 this situation.

 -Jake



 -- Sent from my Palm Prē

 --
 On Apr 18, 2010 1:02 PM, Nick Middleweek n...@middleweek.co.uk wrote:



 Hi,

 I'm working on a cairngorm flex app and have been told to put all business
 logic inside the CG Command.

 At the end of the CG Command, I need to get the ADG to expand it's
 grouping nodes for a particular node.


 What is the correct way of solving this problem because from my Command, I
 can't 'see' the view.

 Should I update the model from the Command and have a ChangeWatcher on the
 view to run the AdvancedDataGrid.expandChildrenOf() code?

 Is there a right and wrong way of solving this?


 Thanks,
 Nick


   



Re: [flexcoders] Cairngorm sub-applications Remoting

2010-01-27 Thread Siluetti

Hi,

I'm running into this same error with Mate framework, so this is not only
Cairngorm-related problem. Trying to make RPC-calls via sub-application
loaded with swfloader gives the same error as previously described:

No destination with id 'null' is registered with any service.

Also I get the same Error:

TypeError: Error #1034: Type Coercion failed: cannot convert obj...@a0caee9
to mx.messaging.messages.ErrorMessage.

Tried the Security.allowDomain as described in the pdf, but nothing. Erich,
did you manage to fix this?

Cheers, Jukka


Erich Cervantez wrote:
 
 Thanks for the link...
 
 I've seen that PDF before but hadn't read up to page 40.  It's first
 suggestion recommended loading the sub-application as a sandboxed
 application by calling Security.allowDomain() in the main application and
 calling it also on the sub-application's pre-initialization event. 
 Unfortunately there's no difference.
 
 
 --- In flexcoders@yahoogroups.com, Gordon Hirsch gordon.hir...@...
 wrote:

 Have you seen the section titled Using RPC and DataServices classes with
 multi-versioned applications (~p. 40) in this document?
 
 http://livedocs.adobe.com/flex/3/loading_applications.pdf
 
 If I understand correctly, you are hitting this issue and will need
 either to use sandboxing or a bootstrap loader. 
 
 Like you, we have been struggling with sub-applications. For example,
 it's not clear from the documentation exactly which classes are safe to
 use in a bootstrap loader. Does anyone have details on what's legal and
 what's not? 
 
 --- In flexcoders@yahoogroups.com, Erich Cervantez flex@ wrote:
 
  The key thing to note:  both applications are able to dispatch service
 calls on their own when called separately through a browser.  Both
 applications work great on their own.
  
  Currently, I'm pointing the source attribute on SWFLoader to the swf
 location of the sub-application.  I'm loading the app into a peer
 Application Domain (I believe, on the same level as the parent
 application - both children of the System Domain):
  
  _loaderContext.applicationDomain = new ApplicationDomain();
  mySubApplication.loaderContext = m_loaderContext;
  mySubApplication.source = http://xyz:8080/xyz/MySubApp.swf;;
  
  I've tried loading the sub-swf into the same App domain, but since
 they're both Cairngorm apps and use the Cairngorm ServiceLocator
 singleton, I get the typical singleton error (only one servicelocator
 can be instantiated).
  
  My next option might be to assemble most of the logic in the sub-app
 into a module.  My primary app can load the module and use it's own
 service framework for remoting (assuming I can get this to work).  I can
 create a separate, light-weight shell container with its own service
 framework that can also load the same module whenever I want to use the
 sub-application by itself.
  
  Googling this issue isn't working...I have to assume someone out there
 is creating portal applications that load small sub-apps (in Cairngorm). 
 I have to figure out how they solved this problem...
  
  
  
  --- In flexcoders@yahoogroups.com, Maciek Sakrejda msakrejda@ wrote:
  
   The 'destination null' seems to imply that your Flex-side remoting
   metadata is fubared. It's trying to contact a destination that was
 not
   configured--or somehow got unconfigured through the peer-appdomain
 swf
   loading. I've asked about doing something similar with Modules, and
 was
   told by Adobe folks on the list that this would be a Bad Idea.
 However,
   I believe they suggested separate apps--just as you are doing. Have
 you
   tried loading the .swfs into the same appdomain?
   -- 
   Maciek Sakrejda
   Truviso, Inc.
   http://www.truviso.com
   
   -Original Message-
   From: Erich Cervantez flex@
   Reply-to: flexcoders@yahoogroups.com
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] Cairngorm sub-applications  Remoting
   Date: Thu, 16 Apr 2009 17:01:51 -
   
   
   
   Has anyone written two distinct Cairngorm-based applications, each
   capable of dispatching service calls (via RemoteObject) and tried
   loading one inside of the other?
   
   Essentially I have a parent application that uses SWFLoader to load a
   sub-application (in a peer Application Domain). The sub-application
   loads visually within the parent application but service calls from
 the
   sub-application result in a runtime error:
   
   TypeError: Error #1034: Type Coercion failed: cannot convert
   obj...@x to mx.messaging.messages.ErrorMessage.
   
   JBOSS logs show this:
   
   No destination with id 'null' is registered with any service.
   
   The first error appears to be a class-aliasing problem, but both of
   these apps are Cairngorm-based Flex applications...the
   registerClassAlias method shouldn't be required (besides, I tried
 that
   tactic already to no avail).
   
   This is the only Flex-equivalent of a bat-signal I can think of ;)
   
   Erich
  
 

 
 
 
 

-- 
View this message in 

Re: [flexcoders] Cairngorm Parallel Commands

2009-09-13 Thread Stephane Guyot


Ryan,

	as far as I know, Flash Player does not offer public mutli-thraded  
APIs.
	Server Side calls are asynchronous,  but I don't know if that's the  
case in your Commands ?

You can also download Cairngorm source and debug.   

	See Alex Blog : http://blogs.adobe.com/aharui/2008/01/ 
threads_in_actionscript_3.html


HTH,
Stephane

Le 11 sept. 09 à 20:51, krusenet a écrit :

I posted this on the adobe forums but this list appears much more  
active so I'll try here.


I'm using Cairngorm and I am trying to execute a set of commands in  
parallel. One command doesn't depend on the completion of another  
so they don't fit the SequenceCommand idea. Basically I create two  
events inside a function and dispatch them one after another (see  
code below). I only see one event fire. If I comment out the first  
one then the second one fires so I know my controller is setup  
fine, but I can never get them both to fire.


Any ideas?
-Ryan

var event1:MyFirstEvent = new MyFirstEvent();
event1.dispatch();

var event2:MySecondEvent = new MySecondEvent();
event2.dispatch();




IBCM :  International Bank of Chatenay-Malabry http://www.kiva.org/ 
lender/stephane4127 - Click on Map View







Re: [flexcoders] Cairngorm Parallel Commands

2009-09-13 Thread Ryan Kruse
I don't need threads, and the problem exists if my commands don't even hit a
remote server.  Firing the cairngorm events one after another just doesn't
seem to work reliably.

Ryan

On Sep 13, 2009 4:58 AM, Stephane Guyot stephane.guyo...@wanadoo.fr
wrote:


Ryan,

as far as I know, Flash Player does not offer public mutli-thraded APIs.
Server Side calls are asynchronous,  but I don't know if that's the case in
your Commands ?
You can also download Cairngorm source and debug.

See Alex Blog :
http://blogs.adobe.com/aharui/2008/01/threads_in_actionscript_3.html

HTH,
Stephane

Le 11 sept. 09 à 20:51, krusenet a écrit :

 I posted this on the adobe forums but this list appears much more
active so I'll try here

IBCM :  International Bank of Chatenay-Malabry
http://www.kiva.org/lender/stephane4127 - Click on Map View


Re: [flexcoders] Cairngorm Parallel Commands

2009-09-13 Thread Jeffry Houser


I thought the multi-threaded issue was a bit of a red herring too.  You 
should be able to fire two events, one right after the other, without 
any need to access multi-threading in the Flash Player. 

I've done this sort of thing plenty of times without issues.  From your 
code is it not obvious what the problem may be.  I would suspect the 
issue is in one of your events / commands, or how they are registered in 
the FrontController. 

Getting the code and stepping through it is a good idea.  Even w/o the 
Cairngorm source, you can step over the code you have to make sure that 
both events are fired. 




Ryan Kruse wrote:
 

I don't need threads, and the problem exists if my commands don't even 
hit a remote server.  Firing the cairngorm events one after another 
just doesn't seem to work reliably.


Ryan

On Sep 13, 2009 4:58 AM, Stephane Guyot 
stephane.guyo...@wanadoo.fr mailto:stephane.guyo...@wanadoo.fr wrote:



Ryan,

as far as I know, Flash Player does not offer public mutli-thraded APIs.
Server Side calls are asynchronous,  but I don't know if that's the 
case in your Commands ?

You can also download Cairngorm source and debug.

See Alex Blog 
: http://blogs.adobe.com/aharui/2008/01/threads_in_actionscript_3.html 
http://blogs.adobe.com/aharui/2008/01/threads_in_actionscript_3.html


HTH,
Stephane

Le 11 sept. 09 à 20:51, krusenet a écrit :

 I posted this on the adobe forums but this list appears much 
more active so I'll try here



IBCM :  International Bank of 
Chatenay-Malabry http://www.kiva.org/lender/stephane4127 
http://www.kiva.org/lender/stephane4127 - Click on Map View









--
Jeffry Houser, Technical Entrepreneur
Adobe Community Expert: http://tinyurl.com/684b5h
http://www.twitter.com/reboog711  | Phone: 203-379-0773
--
Easy to use Interface Components for Flex Developers
http://www.flextras.com?c=104
--
http://www.theflexshow.com
http://www.jeffryhouser.com
--
Part of the DotComIt Brain Trust



Re: [flexcoders] cairngorm convention: vo or model?

2009-08-07 Thread Muzak
I don't have a ModelLocator, just one or more Models :) but yes, that's what 
goes in the model package.
I have my own MVC framework, based on Cairngorm and ARP.

ARP is what I started out with in AS2 (Flash) and Cairngorm is what most people 
moved over to when AS3 and/or Flex 2 came out.
As already mentioned, I find Cairngorm has a few things backwards, so I threw 
together my own MVC thing.

regards,
Muzak

- Original Message - 
From: Jorge Maiquez jmaiq...@yahoo.com
To: flexcoders@yahoogroups.com
Sent: Friday, August 07, 2009 7:21 AM
Subject: RE: [flexcoders] cairngorm convention: vo or model?


 bindable, typed data object (which may or may not get sent across the wire).
 
 Cool, that definition would take care of all 3 points I originally mentioned.
 
 So, what do you actually put into the model package? Is it just the 
 ModelLocator?
 
 cheers,
 -Jorge
 



RE: [flexcoders] cairngorm convention: vo or model?

2009-08-07 Thread Jorge Maiquez
I'm also ending up with my own MVC thing... but as a result of mis-interpreting 
and incorrectly implementing Cairngorm rather than consciously deciding to do 
so :)

Thanks for the help!

-Original Message-
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Muzak
Sent: 07 August 2009 11:12
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] cairngorm convention: vo or model?

I don't have a ModelLocator, just one or more Models :) but yes, that's what 
goes in the model package.
I have my own MVC framework, based on Cairngorm and ARP.

ARP is what I started out with in AS2 (Flash) and Cairngorm is what most people 
moved over to when AS3 and/or Flex 2 came out.
As already mentioned, I find Cairngorm has a few things backwards, so I threw 
together my own MVC thing.

regards,
Muzak

- Original Message - 
From: Jorge Maiquez jmaiq...@yahoo.com
To: flexcoders@yahoogroups.com
Sent: Friday, August 07, 2009 7:21 AM
Subject: RE: [flexcoders] cairngorm convention: vo or model?


 bindable, typed data object (which may or may not get sent across the wire).
 
 Cool, that definition would take care of all 3 points I originally mentioned.
 
 So, what do you actually put into the model package? Is it just the 
 ModelLocator?
 
 cheers,
 -Jorge
 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location: 
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links





Re: [flexcoders] cairngorm convention: vo or model?

2009-08-07 Thread Pedro Sena
Take a look at David Tucker's tutorials about Cairngorm, they will give you
some background.

HTH

On Fri, Aug 7, 2009 at 7:39 AM, Jorge Maiquez jmaiq...@yahoo.com wrote:



 I'm also ending up with my own MVC thing... but as a result of
 mis-interpreting and incorrectly implementing Cairngorm rather than
 consciously deciding to do so :)

 Thanks for the help!


 -Original Message-
 From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com [mailto:
 flexcoders@yahoogroups.com flexcoders%40yahoogroups.com] On Behalf Of
 Muzak
 Sent: 07 August 2009 11:12
 To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
 Subject: Re: [flexcoders] cairngorm convention: vo or model?

 I don't have a ModelLocator, just one or more Models :) but yes, that's
 what goes in the model package.
 I have my own MVC framework, based on Cairngorm and ARP.

 ARP is what I started out with in AS2 (Flash) and Cairngorm is what most
 people moved over to when AS3 and/or Flex 2 came out.
 As already mentioned, I find Cairngorm has a few things backwards, so I
 threw together my own MVC thing.

 regards,
 Muzak

 - Original Message -
 From: Jorge Maiquez jmaiq...@yahoo.com jmaiquez%40yahoo.com
 To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
 Sent: Friday, August 07, 2009 7:21 AM
 Subject: RE: [flexcoders] cairngorm convention: vo or model?

  bindable, typed data object (which may or may not get sent across the
 wire).
 
  Cool, that definition would take care of all 3 points I originally
 mentioned.
 
  So, what do you actually put into the model package? Is it just the
 ModelLocator?
 
  cheers,
  -Jorge
 

 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location:
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
 Links

  




-- 
/**
* Pedro Sena
* Systems Architect
* Sun Certified Java Programmer
* Sun Certified Web Component Developer
*/


RE: [flexcoders] cairngorm convention: vo or model?

2009-08-07 Thread Jorge Maiquez
Yeah, I did that already (that's where I got my package structure from), but
maybe it's time for another look :p

 

Thanks!

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Pedro Sena
Sent: 07 August 2009 13:22
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] cairngorm convention: vo or model?

 



Take a look at David Tucker's tutorials about Cairngorm, they will give you
some background.

HTH

On Fri, Aug 7, 2009 at 7:39 AM, Jorge Maiquez jmaiq...@yahoo.com wrote:

  

I'm also ending up with my own MVC thing... but as a result of
mis-interpreting and incorrectly implementing Cairngorm rather than
consciously deciding to do so :)

Thanks for the help!



-Original Message-
From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
[mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ]
On Behalf Of Muzak

Sent: 07 August 2009 11:12
To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 

Subject: Re: [flexcoders] cairngorm convention: vo or model?

I don't have a ModelLocator, just one or more Models :) but yes, that's what
goes in the model package.
I have my own MVC framework, based on Cairngorm and ARP.

ARP is what I started out with in AS2 (Flash) and Cairngorm is what most
people moved over to when AS3 and/or Flex 2 came out.
As already mentioned, I find Cairngorm has a few things backwards, so I
threw together my own MVC thing.

regards,
Muzak

- Original Message - 
From: Jorge Maiquez jmaiq...@yahoo.com mailto:jmaiquez%40yahoo.com 
To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
Sent: Friday, August 07, 2009 7:21 AM
Subject: RE: [flexcoders] cairngorm convention: vo or model?

 bindable, typed data object (which may or may not get sent across the
wire).
 
 Cool, that definition would take care of all 3 points I originally
mentioned.
 
 So, what do you actually put into the model package? Is it just the
ModelLocator?
 
 cheers,
 -Jorge
 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location:
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62
079f6847

Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links




-- 
/**
* Pedro Sena
* Systems Architect
* Sun Certified Java Programmer 
* Sun Certified Web Component Developer
*/







image001.jpg

Re: [flexcoders] cairngorm convention: vo or model?

2009-08-06 Thread claudiu ursica
Ultimately the data should be in the model, and the view binds to the model. 
However depending on your needs you could notify the view from the command 
using responders. Check the UM Cairngorm extensions for this.

HTH,
Claudiu





From: Jorge Maiquez jmaiq...@yahoo.com
To: flexcoders@yahoogroups.com
Sent: Thursday, August 6, 2009 3:07:15 PM
Subject: [flexcoders] cairngorm convention: vo or model?

   
I
have a some doubts about implementing Cairngorm correctly (and I guess MVC in
general). I’m trying to decide where to place some of my data
storing/transferrin g classes, and I was wondering if anyone has any rules of
thumb for this kind of thing.
 
These
are the guidelines that I have been following until now:
 
1)
the class only transfers data to/from a server: postfix “VO” and put
it in the vo folder
2)
the class only stores data for the local application: put it in the model
folder
3)
the class does both of the above: put it in the model folder (don’t
postfix “VO”)
 
I’m
working with someone who does (1) even when the class is never sent across the
wire.
 
What’s
the “right” way to do this? 
 
And
also: I’ve read somewhere that VO’s should not contain any logic,
and that you should be able to initialise all of its properties via the
constructor. What do you think?
 
TIA!
-Jorge
 
   


  

RE: [flexcoders] cairngorm convention: vo or model?

2009-08-06 Thread Jorge Maiquez
What about transient data? I was always under the impression that VO’s (or 
DTO’s or whatever they’re called) were more like throw-away objects: you use 
them to transfer data to/from a server, but that’s it.

 

So if I label something as being a VO (e.g. ConversationVO), then I don’t 
expect to find that class in the “model” classpath because I am not storing 
data in it. Consequently, I would not expect my view to bind to it.

 

Does that make sense? I guess all I’m asking is: would you label something as 
being a VO and then bind your view to it?

 

Symantics, I know, but I’m trying to figure out whether I’m the only one who 
thinks it’s weird :-)

 

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of claudiu ursica
Sent: 06 August 2009 14:23
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] cairngorm convention: vo or model?

 






Ultimately the data should be in the model, and the view binds to the model. 
However depending on your needs you could notify the view from the command 
using responders. Check the UM Cairngorm extensions for this.

HTH,
Claudiu

 

  _  

From: Jorge Maiquez jmaiq...@yahoo.com
To: flexcoders@yahoogroups.com
Sent: Thursday, August 6, 2009 3:07:15 PM
Subject: [flexcoders] cairngorm convention: vo or model?

  

I have a some doubts about implementing Cairngorm correctly (and I guess MVC in 
general). I’m trying to decide where to place some of my data 
storing/transferrin g classes, and I was wondering if anyone has any rules of 
thumb for this kind of thing.

 

These are the guidelines that I have been following until now:

 

1) the class only transfers data to/from a server: postfix “VO” and put it in 
the vo folder

2) the class only stores data for the local application: put it in the model 
folder

3) the class does both of the above: put it in the model folder (don’t postfix 
“VO”)

 

I’m working with someone who does (1) even when the class is never sent across 
the wire.

 

What’s the “right” way to do this? 

 

And also: I’ve read somewhere that VO’s should not contain any logic, and that 
you should be able to initialise all of its properties via the constructor. 
What do you think?

 

TIA!

-Jorge

 









image002.jpg

Re: [flexcoders] cairngorm convention: vo or model?

2009-08-06 Thread claudiu ursica
You are right, If your data is only transport stuff and then get rid of it it 
does not justify to put it in the model. If you need your data displayed in the 
view then your data will probably be in the model. It depends on your business 
case. The VO is just a name in the end... you can label a class with VO or not 
it is how you use it what matters. You can transport data with VO objects 
(classes with no methods) and put it inside other model classes (put a clone 
method inside that class to move data from VO). But in many cases this is not 
justified. For example you want to login, you get the username and pass form 
the textfield inside a VO. Attach that VO as a payload to the cairngorm event 
and send it to the server via command/delegate etc ... That is a case where you 
just transport data ... no need ot store it in the model ... If you get data 
from the server like some products and want to display them in the view, you 
can pu them in the model and use
 the model as a dataprovider for a list or whatever ...

C





From: Jorge Maiquez jmaiq...@yahoo.com
To: flexcoders@yahoogroups.com
Sent: Thursday, August 6, 2009 4:50:14 PM
Subject: RE: [flexcoders] cairngorm convention: vo or model?

   
What about transient data? I was always under the impression
that VO’s (or DTO’s or whatever they’re called) were more like throw-away
objects: you use them to transfer data to/from a server, but that’s it.
 
So if I label something as being a VO (e.g. ConversationVO) ,
then I don’t expect to find that class in the “model” classpath because I am
not storing data in it. Consequently, I would not expect my view to bind to it.
 
Does that make sense? I guess all I’m asking is: would you label
something as being a VO and then bind your view to it?
 
Symantics, I know, but I’m trying to figure out whether I’m the
only one who thinks it’s weird :-)
 
 
From:flexcod...@yahoogro ups.com [mailto:flexcoders@ yahoogroups. com] On 
Behalf Of claudiu ursica
Sent: 06 August 2009 14:23
To: flexcod...@yahoogro ups.com
Subject: Re: [flexcoders] cairngorm convention: vo or model?
 



Ultimately
the data should be in the model, and the view binds to the model. However
depending on your needs you could notify the view from the command using
responders. Check the UM Cairngorm extensions for this.

HTH,
Claudiu
 


 
From:Jorge Maiquez
jmaiq...@yahoo. com
To: flexcod...@yahoogro ups.com
Sent: Thursday, August 6, 2009 3:07:15 PM
Subject: [flexcoders] cairngorm convention: vo or model?

  
I have a some doubts about implementing Cairngorm
correctly (and I guess MVC in general). I’m trying to decide where to place
some of my data storing/transferrin g classes, and I was wondering if anyone
has any rules of thumb for this kind of thing.
 
These are the guidelines that I have been following
until now:
 
1) the class only transfers data to/from a server:
postfix “VO” and put it in the vo folder
2) the class only stores data for the local
application: put it in the model folder
3) the class does both of the above: put it in the
model folder (don’t postfix “VO”)
 
I’m working with someone who does (1) even when the
class is never sent across the wire.
 
What’s the “right” way to do this? 
 
And also: I’ve read somewhere that VO’s should not
contain any logic, and that you should be able to initialise all of its
properties via the constructor. What do you think?
 
TIA!
-Jorge
 




   


  

RE: [flexcoders] cairngorm convention: vo or model?

2009-08-06 Thread Jorge Maiquez
Ok, so if I’m understanding you correctly, you don’t have a problem storing a 
VO in some part of the model (assuming that the VO is used for both transport 
and storage)?

 

In my Cairngorm project, the directory structure looks like this:

 

business

control

   commands

   events

model

view

vo

 

So if I do what you suggest, and allow for a VO to reside in the model, then 
the model will contain stuff that does not reside in the model directory, which 
feels kinda weird to me.

 

I know I’m being very fussy over something very trivial :-)

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of claudiu ursica
Sent: 06 August 2009 16:01
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] cairngorm convention: vo or model?

 






You are right, If your data is only transport stuff and then get rid of it it 
does not justify to put it in the model. If you need your data displayed in the 
view then your data will probably be in the model. It depends on your business 
case. The VO is just a name in the end... you can label a class with VO or not 
it is how you use it what matters. You can transport data with VO objects 
(classes with no methods) and put it inside other model classes (put a clone 
method inside that class to move data from VO). But in many cases this is not 
justified. For example you want to login, you get the username and pass form 
the textfield inside a VO. Attach that VO as a payload to the cairngorm event 
and send it to the server via command/delegate etc ... That is a case where you 
just transport data ... no need ot store it in the model ... If you get data 
from the server like some products and want to display them in the view, you 
can pu them in the model and use the model as a dataprovider for a list or 
whatever ...

C

 

  _  

From: Jorge Maiquez jmaiq...@yahoo.com
To: flexcoders@yahoogroups.com
Sent: Thursday, August 6, 2009 4:50:14 PM
Subject: RE: [flexcoders] cairngorm convention: vo or model?

  

What about transient data? I was always under the impression that VO’s (or 
DTO’s or whatever they’re called) were more like throw-away objects: you use 
them to transfer data to/from a server, but that’s it.

 

So if I label something as being a VO (e.g. ConversationVO) , then I don’t 
expect to find that class in the “model” classpath because I am not storing 
data in it. Consequently, I would not expect my view to bind to it.

 

Does that make sense? I guess all I’m asking is: would you label something as 
being a VO and then bind your view to it?

 

Symantics, I know, but I’m trying to figure out whether I’m the only one who 
thinks it’s weird :-)

 

 

From: flexcod...@yahoogro ups.com [mailto:flexcoders@ yahoogroups. com] On 
Behalf Of claudiu ursica
Sent: 06 August 2009 14:23
To: flexcod...@yahoogro ups.com
Subject: Re: [flexcoders] cairngorm convention: vo or model?

 





Ultimately the data should be in the model, and the view binds to the model. 
However depending on your needs you could notify the view from the command 
using responders. Check the UM Cairngorm extensions for this.

HTH,
Claudiu

 

  _  

From: Jorge Maiquez jmaiq...@yahoo. com
To: flexcod...@yahoogro ups.com
Sent: Thursday, August 6, 2009 3:07:15 PM
Subject: [flexcoders] cairngorm convention: vo or model?

  

I have a some doubts about implementing Cairngorm correctly (and I guess MVC in 
general). I’m trying to decide where to place some of my data 
storing/transferrin g classes, and I was wondering if anyone has any rules of 
thumb for this kind of thing.

 

These are the guidelines that I have been following until now:

 

1) the class only transfers data to/from a server: postfix “VO” and put it in 
the vo folder

2) the class only stores data for the local application: put it in the model 
folder

3) the class does both of the above: put it in the model folder (don’t postfix 
“VO”)

 

I’m working with someone who does (1) even when the class is never sent across 
the wire.

 

What’s the “right” way to do this? 

 

And also: I’ve read somewhere that VO’s should not contain any logic, and that 
you should be able to initialise all of its properties via the constructor. 
What do you think?

 

TIA!

-Jorge

 














image001.jpg

Re: [flexcoders] cairngorm convention: vo or model?

2009-08-06 Thread claudiu ursica
How about if let's say you use classes from an external library in you model? 
It won't even be in you project structure. it will be from your libs where the 
swc's reside...You can clone vo's into model classes but it seems such a waste 
to me ...
C





From: Jorge Maiquez jmaiq...@yahoo.com
To: flexcoders@yahoogroups.com
Sent: Thursday, August 6, 2009 6:42:16 PM
Subject: RE: [flexcoders] cairngorm convention: vo or model?

   
Ok, so if I’m understanding you correctly, you don’t have a
problem storing a VO in some part of the model (assuming that the VO is used
for both transport and storage)?
 
In my Cairngorm project, the directory structure looks like
this:
 
business
control
   commands
   events
model
view
vo
 
So if I do what you suggest, and allow for a VO to reside in the
model, then the model will contain stuff that does not reside in the model
directory, which feels kinda weird to me.
 
I know I’m being very fussy over something very trivial :-)
 
From:flexcod...@yahoogro ups.com [mailto:flexcoders@ yahoogroups. com] On 
Behalf Of claudiu ursica
Sent: 06 August 2009 16:01
To: flexcod...@yahoogro ups.com
Subject: Re: [flexcoders] cairngorm convention: vo or model?
 



You
are right, If your data is only transport stuff and then get rid of it it does
not justify to put it in the model. If you need your data displayed in the view
then your data will probably be in the model. It depends on your business case.
The VO is just a name in the end... you can label a class with VO or not it is
how you use it what matters. You can transport data with VO objects (classes
with no methods) and put it inside other model classes (put a clone method
inside that class to move data from VO). But in many cases this is not
justified. For example you want to login, you get the username and pass form
the textfield inside a VO. Attach that VO as a payload to the cairngorm event
and send it to the server via command/delegate etc ... That is a case where you
just transport data ... no need ot store it in the model ... If you get data
from the server like some products and want to display them in the view, you
can pu them in the model and use the model as a dataprovider for a list or
whatever ...

C
 


 
From:Jorge Maiquez
jmaiq...@yahoo. com
To: flexcod...@yahoogro ups.com
Sent: Thursday, August 6, 2009 4:50:14 PM
Subject: RE: [flexcoders] cairngorm convention: vo or model?

  
What about transient data? I was always
under the impression that VO’s (or DTO’s or whatever they’re called) were more
like throw-away objects: you use them to transfer data to/from a server, but
that’s it.
 
So if I label something as being a VO
(e.g. ConversationVO) , then I don’t expect to find that class in the “model”
classpath because I am not storing data in it. Consequently, I would not expect
my view to bind to it.
 
Does that make sense? I guess all I’m
asking is: would you label something as being a VO and then bind your view to
it?
 
Symantics, I know, but I’m trying to
figure out whether I’m the only one who thinks it’s weird :-)
 
 
From:flexcod...@yahoogro ups.com [mailto:flexcoders@ yahoogroups. com] On Behalf
Of claudiu ursica
Sent: 06 August 2009 14:23
To: flexcod...@yahoogro ups.com
Subject: Re: [flexcoders] cairngorm convention: vo or model?
 


Ultimately the data should be in the model, and the
view binds to the model. However depending on your needs you could notify the
view from the command using responders. Check the UM Cairngorm extensions for
this.

HTH,
Claudiu
 


 
From:Jorge
Maiquez jmaiq...@yahoo. com
To: flexcod...@yahoogro ups.com
Sent: Thursday, August 6, 2009 3:07:15 PM
Subject: [flexcoders] cairngorm convention: vo or model?

  
I have a some doubts about implementing Cairngorm
correctly (and I guess MVC in general). I’m trying to decide where to place
some of my data storing/transferrin g classes, and I was wondering if anyone
has any rules of thumb for this kind of thing.
 
These are the guidelines that I have been following
until now:
 
1) the class only transfers data to/from a server:
postfix “VO” and put it in the vo folder
2) the class only stores data for the local
application: put it in the model folder
3) the class does both of the above: put it in the
model folder (don’t postfix “VO”)
 
I’m working with someone who does (1) even when the
class is never sent across the wire.
 
What’s the “right” way to do this? 
 
And also: I’ve read somewhere that VO’s should not contain
any logic, and that you should be able to initialise all of its properties via
the constructor. What do you think?
 
TIA!
-Jorge
 







   


  

RE: [flexcoders] cairngorm convention: vo or model?

2009-08-06 Thread Jake Churchill
Directory structure is just used for packaging.  So, you keep all your views 
together.  But when you think about it, views rarely contain their own data.

 

Likewise, commands are in commands, vo’s should all be in vo.

 

FYI, the default Cairngorm structure has commands and events at the same level 
as control, not inside of control

 

Jake Churchill
CF Webtools
11204 Davenport, Ste. 100
Omaha, NE  68154
 http://www.cfwebtools.com http://www.cfwebtools.com
402-408-3733 x103

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Jorge Maiquez
Sent: Thursday, August 06, 2009 10:42 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] cairngorm convention: vo or model?

 

  

Ok, so if I’m understanding you correctly, you don’t have a problem storing a 
VO in some part of the model (assuming that the VO is used for both transport 
and storage)?

 

In my Cairngorm project, the directory structure looks like this:

 

business

control

   commands

   events

model

view

vo

 

So if I do what you suggest, and allow for a VO to reside in the model, then 
the model will contain stuff that does not reside in the model directory, which 
feels kinda weird to me.

 

I know I’m being very fussy over something very trivial :-)

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of claudiu ursica
Sent: 06 August 2009 16:01
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] cairngorm convention: vo or model?

 







You are right, If your data is only transport stuff and then get rid of it it 
does not justify to put it in the model. If you need your data displayed in the 
view then your data will probably be in the model. It depends on your business 
case. The VO is just a name in the end... you can label a class with VO or not 
it is how you use it what matters. You can transport data with VO objects 
(classes with no methods) and put it inside other model classes (put a clone 
method inside that class to move data from VO). But in many cases this is not 
justified. For example you want to login, you get the username and pass form 
the textfield inside a VO. Attach that VO as a payload to the cairngorm event 
and send it to the server via command/delegate etc ... That is a case where you 
just transport data ... no need ot store it in the model ... If you get data 
from the server like some products and want to display them in the view, you 
can pu them in the model and use the model as a dataprovider for a list or 
whatever ...

C

 

  _  

From: Jorge Maiquez jmaiq...@yahoo.com
To: flexcoders@yahoogroups.com
Sent: Thursday, August 6, 2009 4:50:14 PM
Subject: RE: [flexcoders] cairngorm convention: vo or model?

  

What about transient data? I was always under the impression that VO’s (or 
DTO’s or whatever they’re called) were more like throw-away objects: you use 
them to transfer data to/from a server, but that’s it.

 

So if I label something as being a VO (e.g. ConversationVO) , then I don’t 
expect to find that class in the “model” classpath because I am not storing 
data in it. Consequently, I would not expect my view to bind to it.

 

Does that make sense? I guess all I’m asking is: would you label something as 
being a VO and then bind your view to it?

 

Symantics, I know, but I’m trying to figure out whether I’m the only one who 
thinks it’s weird :-)

 

 

From: flexcod...@yahoogro ups.com [mailto:flexcoders@ yahoogroups. com] On 
Behalf Of claudiu ursica
Sent: 06 August 2009 14:23
To: flexcod...@yahoogro ups.com
Subject: Re: [flexcoders] cairngorm convention: vo or model?

 






Ultimately the data should be in the model, and the view binds to the model. 
However depending on your needs you could notify the view from the command 
using responders. Check the UM Cairngorm extensions for this.

HTH,
Claudiu

 

  _  

From: Jorge Maiquez jmaiq...@yahoo. com
To: flexcod...@yahoogro ups.com
Sent: Thursday, August 6, 2009 3:07:15 PM
Subject: [flexcoders] cairngorm convention: vo or model?

  

I have a some doubts about implementing Cairngorm correctly (and I guess MVC in 
general). I’m trying to decide where to place some of my data 
storing/transferrin g classes, and I was wondering if anyone has any rules of 
thumb for this kind of thing.

 

These are the guidelines that I have been following until now:

 

1) the class only transfers data to/from a server: postfix “VO” and put it in 
the vo folder

2) the class only stores data for the local application: put it in the model 
folder

3) the class does both of the above: put it in the model folder (don’t postfix 
“VO”)

 

I’m working with someone who does (1) even when the class is never sent across 
the wire.

 

What’s the “right” way to do this? 

 

And also: I’ve read somewhere that VO’s should not contain any logic, and that 
you should be able to initialise all of its properties via the constructor. 
What do you think?

 

TIA!

-Jorge

RE: [flexcoders] cairngorm convention: vo or model?

2009-08-06 Thread Jorge Maiquez
@Claudiu

 in you model? It won't even be in you project structure. it will 

 be from your libs where the swc's reside... You can clone vo's 

 into model classes but it seems such a waste to me ...

 

Point taken. 

 

 

@Jake

 commands are in commands, vo’s should all be in vo

 

So by that token, models should be in models, right? What if you have a class 
that is both a vo and a part of the model (the situation I mentioned in my 
original post)? Should you clone the vo and put it in the model, as Claudiu 
mentioned?

 

 default Cairngorm structure has commands and events at the same 

  level as control, not inside of control

 

I followed the structure used by David Tucker:

http://www.davidtucker.net/2007/10/29/cairngorm-part-3/

 

 

Thanks!

 

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Jake Churchill
Sent: 06 August 2009 18:17
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] cairngorm convention: vo or model?

 






Directory structure is just used for packaging.  So, you keep all your views 
together.  But when you think about it, views rarely contain their own data.

 

Likewise, commands are in commands, vo’s should all be in vo.

 

FYI, the default Cairngorm structure has commands and events at the same level 
as control, not inside of control

 

Jake Churchill
CF Webtools
11204 Davenport, Ste. 100
Omaha, NE  68154
 http://www.cfwebtools.com http://www.cfwebtools.com
402-408-3733 x103

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Jorge Maiquez
Sent: Thursday, August 06, 2009 10:42 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] cairngorm convention: vo or model?

 

  

Ok, so if I’m understanding you correctly, you don’t have a problem storing a 
VO in some part of the model (assuming that the VO is used for both transport 
and storage)?

 

In my Cairngorm project, the directory structure looks like this:

 

business

control

   commands

   events

model

view

vo

 

So if I do what you suggest, and allow for a VO to reside in the model, then 
the model will contain stuff that does not reside in the model directory, which 
feels kinda weird to me.

 

I know I’m being very fussy over something very trivial :-)

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of claudiu ursica
Sent: 06 August 2009 16:01
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] cairngorm convention: vo or model?

 






You are right, If your data is only transport stuff and then get rid of it it 
does not justify to put it in the model. If you need your data displayed in the 
view then your data will probably be in the model. It depends on your business 
case. The VO is just a name in the end... you can label a class with VO or not 
it is how you use it what matters. You can transport data with VO objects 
(classes with no methods) and put it inside other model classes (put a clone 
method inside that class to move data from VO). But in many cases this is not 
justified. For example you want to login, you get the username and pass form 
the textfield inside a VO. Attach that VO as a payload to the cairngorm event 
and send it to the server via command/delegate etc ... That is a case where you 
just transport data ... no need ot store it in the model ... If you get data 
from the server like some products and want to display them in the view, you 
can pu them in the model and use the model as a dataprovider for a list or 
whatever ...

C

 

  _  

From: Jorge Maiquez jmaiq...@yahoo.com
To: flexcoders@yahoogroups.com
Sent: Thursday, August 6, 2009 4:50:14 PM
Subject: RE: [flexcoders] cairngorm convention: vo or model?

  

What about transient data? I was always under the impression that VO’s (or 
DTO’s or whatever they’re called) were more like throw-away objects: you use 
them to transfer data to/from a server, but that’s it.

 

So if I label something as being a VO (e.g. ConversationVO) , then I don’t 
expect to find that class in the “model” classpath because I am not storing 
data in it. Consequently, I would not expect my view to bind to it.

 

Does that make sense? I guess all I’m asking is: would you label something as 
being a VO and then bind your view to it?

 

Symantics, I know, but I’m trying to figure out whether I’m the only one who 
thinks it’s weird :-)

 

 

From: flexcod...@yahoogro ups.com [mailto:flexcoders@ yahoogroups. com] On 
Behalf Of claudiu ursica
Sent: 06 August 2009 14:23
To: flexcod...@yahoogro ups.com
Subject: Re: [flexcoders] cairngorm convention: vo or model?

 





Ultimately the data should be in the model, and the view binds to the model. 
However depending on your needs you could notify the view from the command 
using responders. Check the UM Cairngorm extensions for this.

HTH,
Claudiu

 

  _  

From: Jorge Maiquez jmaiq...@yahoo. com
To: flexcod...@yahoogro ups.com
Sent: Thursday, August 6, 2009 3:07:15 PM

Re: [flexcoders] cairngorm convention: vo or model?

2009-08-06 Thread Muzak
 1) the class only transfers data to/from a server: postfix VO and put it
 in the vo folder

 I'm working with someone who does (1) even when the class is never sent
 across the wire.

That's what I do as well. Doesn't matter if it's meant for transfering data 
to/from server or not.
They certainly don't belong in the model package though, that's where the model 
belongs, not data classes.
If you prefer having a distinction between objects that will be sent to server 
and those that won't, maybe use a data and a vo 
package.


 And also: I've read somewhere that VO's should not contain any logic, and
 that you should be able to initialise all of its properties via the
 constructor. What do you think?

VO's usually don't contain any logic but there's no law against it AFAIK :)
I never use the constructor to initialize properties.

regards,
Muzak

- Original Message - 
From: Jorge Maiquez jmaiq...@yahoo.com
To: flexcoders@yahoogroups.com
Sent: Thursday, August 06, 2009 2:07 PM
Subject: [flexcoders] cairngorm convention: vo or model?


I have a some doubts about implementing Cairngorm correctly (and I guess MVC
 in general). I'm trying to decide where to place some of my data
 storing/transferring classes, and I was wondering if anyone has any rules of
 thumb for this kind of thing.



 These are the guidelines that I have been following until now:



 1) the class only transfers data to/from a server: postfix VO and put it
 in the vo folder

 2) the class only stores data for the local application: put it in the model
 folder

 3) the class does both of the above: put it in the model folder (don't
 postfix VO)



 I'm working with someone who does (1) even when the class is never sent
 across the wire.



 What's the right way to do this?



 And also: I've read somewhere that VO's should not contain any logic, and
 that you should be able to initialise all of its properties via the
 constructor. What do you think?



 TIA!

 -Jorge



 



Re: [flexcoders] cairngorm convention: vo or model?

2009-08-06 Thread Muzak

 What if you have a class that is both a vo and a part of the model (the 
 situation I mentioned in my original post)?
 Should you clone the vo and put it in the model, as Claudiu mentioned?

What do you mean by part of the model; it is used by the model?
If so, why does that matter? VO's should be in the vo package, nowhere else.

 I followed the structure used by David Tucker

Well, Cairngorm has a few things backwards (IMO), like CairngormEvent and 
CairngormEventDispatcher both being in the control 
package.
Both should be in an events package, just like the standard Flex Event and 
EventDispatcher classes are.

flash.events.Event
flash.events.EventDispatcher

And their use of ModelLocator is just... eeew. It's not a locator, it's 
just a Model.
My guess is they looked at ARP a bit too much, but missed the point of how it 
is actually used :)

regards,
Muzak

- Original Message - 
From: Jorge Maiquez jmaiq...@yahoo.com
To: flexcoders@yahoogroups.com
Sent: Thursday, August 06, 2009 6:31 PM
Subject: RE: [flexcoders] cairngorm convention: vo or model?


@Claudiu

 in you model? It won't even be in you project structure. it will

 be from your libs where the swc's reside... You can clone vo's

 into model classes but it seems such a waste to me ...



Point taken.





@Jake

 commands are in commands, vo’s should all be in vo



So by that token, models should be in models, right? What if you have a class 
that is both a vo and a part of the model (the 
situation I mentioned in my original post)? Should you clone the vo and put it 
in the model, as Claudiu mentioned?



 default Cairngorm structure has commands and events at the same

  level as control, not inside of control



I followed the structure used by David Tucker:

http://www.davidtucker.net/2007/10/29/cairngorm-part-3/




RE: [flexcoders] cairngorm convention: vo or model?

2009-08-06 Thread Jorge Maiquez
 don't belong in the model package though, that's where the model belongs, not 
 data classes

Erhm, then maybe I don't know what a model is :-)

Say, I have a list of users. I would create a userList ArrayCollection and 
stick that into the model (bindable and all that). Now, this ArrayCollection is 
actually a bunch of User objects. I would therefore put the User class into the 
model package, and not in the vo package.

Are you saying you would call this a UserVO and place it in the vo package?

Thanks for the response btw!

-Original Message-
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Muzak
Sent: 06 August 2009 21:02
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] cairngorm convention: vo or model?

 1) the class only transfers data to/from a server: postfix VO and put it
 in the vo folder

 I'm working with someone who does (1) even when the class is never sent
 across the wire.

That's what I do as well. Doesn't matter if it's meant for transfering data 
to/from server or not.
They certainly don't belong in the model package though, that's where the model 
belongs, not data classes.
If you prefer having a distinction between objects that will be sent to server 
and those that won't, maybe use a data and a vo 
package.


 And also: I've read somewhere that VO's should not contain any logic, and
 that you should be able to initialise all of its properties via the
 constructor. What do you think?

VO's usually don't contain any logic but there's no law against it AFAIK :)
I never use the constructor to initialize properties.

regards,
Muzak

- Original Message - 
From: Jorge Maiquez jmaiq...@yahoo.com
To: flexcoders@yahoogroups.com
Sent: Thursday, August 06, 2009 2:07 PM
Subject: [flexcoders] cairngorm convention: vo or model?


I have a some doubts about implementing Cairngorm correctly (and I guess MVC
 in general). I'm trying to decide where to place some of my data
 storing/transferring classes, and I was wondering if anyone has any rules of
 thumb for this kind of thing.



 These are the guidelines that I have been following until now:



 1) the class only transfers data to/from a server: postfix VO and put it
 in the vo folder

 2) the class only stores data for the local application: put it in the model
 folder

 3) the class does both of the above: put it in the model folder (don't
 postfix VO)



 I'm working with someone who does (1) even when the class is never sent
 across the wire.



 What's the right way to do this?



 And also: I've read somewhere that VO's should not contain any logic, and
 that you should be able to initialise all of its properties via the
 constructor. What do you think?



 TIA!

 -Jorge



 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location: 
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links





RE: [flexcoders] cairngorm convention: vo or model?

2009-08-06 Thread Jorge Maiquez
 What do you mean by part of the model

I just sent a post where I (hopefully) explained what I mean by part of the 
model.

 If so, why does that matter?

This goes back to my definition of VO: objects that are sent across the wire. 
So my reasoning was that if you send something across the wire and it's not 
part of the model, then it should be in the vo package. 

Additionally, I reasoned (perhaps incorrectly) that anything that is not sent 
down the wire should not get the name VO and should reside in the model 
package, not the vo package. For me, the vo package is only for stuff that gets 
sent down the wire.

 Cairngorm has a few things backwards

Tell me about it.. I could live with backwards if it was well documented 
though, which it's not, which is doing my head in :-) 

Kind regards,
-Jorge


-Original Message-
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Muzak
Sent: 06 August 2009 21:17
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] cairngorm convention: vo or model?


 What if you have a class that is both a vo and a part of the model (the 
 situation I mentioned in my original post)?
 Should you clone the vo and put it in the model, as Claudiu mentioned?

What do you mean by part of the model; it is used by the model?
If so, why does that matter? VO's should be in the vo package, nowhere else.

 I followed the structure used by David Tucker

Well, Cairngorm has a few things backwards (IMO), like CairngormEvent and 
CairngormEventDispatcher both being in the control 
package.
Both should be in an events package, just like the standard Flex Event and 
EventDispatcher classes are.

flash.events.Event
flash.events.EventDispatcher

And their use of ModelLocator is just... eeew. It's not a locator, it's 
just a Model.
My guess is they looked at ARP a bit too much, but missed the point of how it 
is actually used :)

regards,
Muzak

- Original Message - 
From: Jorge Maiquez jmaiq...@yahoo.com
To: flexcoders@yahoogroups.com
Sent: Thursday, August 06, 2009 6:31 PM
Subject: RE: [flexcoders] cairngorm convention: vo or model?


@Claudiu

 in you model? It won't even be in you project structure. it will

 be from your libs where the swc's reside... You can clone vo's

 into model classes but it seems such a waste to me ...



Point taken.





@Jake

 commands are in commands, vo’s should all be in vo



So by that token, models should be in models, right? What if you have a class 
that is both a vo and a part of the model (the 
situation I mentioned in my original post)? Should you clone the vo and put it 
in the model, as Claudiu mentioned?



 default Cairngorm structure has commands and events at the same

  level as control, not inside of control



I followed the structure used by David Tucker:

http://www.davidtucker.net/2007/10/29/cairngorm-part-3/






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location: 
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links





Re: [flexcoders] cairngorm convention: vo or model?

2009-08-06 Thread Muzak
 Say, I have a list of users. I would create a userList ArrayCollection and 
 stick that into the model (bindable and all that).
 Now, this ArrayCollection is actually a bunch of User objects.
 I would therefore put the User class into the model package, and not in the 
 vo package.

 Are you saying you would call this a UserVO and place it in the vo package?

Yup.

 This goes back to my definition of VO: objects that are sent across the 
 wire.
 So my reasoning was that if you send something across the wire and it's not 
 part of the model, then it should be in the vo 
 package.

My definition would be more along the lines of: bindable, typed data object 
(which may or may not get sent across the wire).

regards,
Muzak

- Original Message - 
From: Jorge Maiquez jmaiq...@yahoo.com
To: flexcoders@yahoogroups.com
Sent: Thursday, August 06, 2009 10:30 PM
Subject: RE: [flexcoders] cairngorm convention: vo or model?


 don't belong in the model package though, that's where the model belongs, 
 not data classes

 Erhm, then maybe I don't know what a model is :-)

 Say, I have a list of users. I would create a userList ArrayCollection and 
 stick that into the model (bindable and all that). Now, 
 this ArrayCollection is actually a bunch of User objects. I would therefore 
 put the User class into the model package, and not in 
 the vo package.

 Are you saying you would call this a UserVO and place it in the vo package?

 Thanks for the response btw!




RE: [flexcoders] cairngorm convention: vo or model?

2009-08-06 Thread Jorge Maiquez
 bindable, typed data object (which may or may not get sent across the wire).

Cool, that definition would take care of all 3 points I originally mentioned.

So, what do you actually put into the model package? Is it just the 
ModelLocator?

cheers,
-Jorge

-Original Message-
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Muzak
Sent: 07 August 2009 03:14
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] cairngorm convention: vo or model?

 Say, I have a list of users. I would create a userList ArrayCollection and 
 stick that into the model (bindable and all that).
 Now, this ArrayCollection is actually a bunch of User objects.
 I would therefore put the User class into the model package, and not in the 
 vo package.

 Are you saying you would call this a UserVO and place it in the vo package?

Yup.

 This goes back to my definition of VO: objects that are sent across the 
 wire.
 So my reasoning was that if you send something across the wire and it's not 
 part of the model, then it should be in the vo 
 package.

My definition would be more along the lines of: bindable, typed data object 
(which may or may not get sent across the wire).

regards,
Muzak

- Original Message - 
From: Jorge Maiquez jmaiq...@yahoo.com
To: flexcoders@yahoogroups.com
Sent: Thursday, August 06, 2009 10:30 PM
Subject: RE: [flexcoders] cairngorm convention: vo or model?


 don't belong in the model package though, that's where the model belongs, 
 not data classes

 Erhm, then maybe I don't know what a model is :-)

 Say, I have a list of users. I would create a userList ArrayCollection and 
 stick that into the model (bindable and all that). Now, 
 this ArrayCollection is actually a bunch of User objects. I would therefore 
 put the User class into the model package, and not in 
 the vo package.

 Are you saying you would call this a UserVO and place it in the vo package?

 Thanks for the response btw!






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location: 
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links





Re: [flexcoders] Cairngorm sub-applications Remoting

2009-04-16 Thread Maciek Sakrejda
The 'destination null' seems to imply that your Flex-side remoting
metadata is fubared. It's trying to contact a destination that was not
configured--or somehow got unconfigured through the peer-appdomain swf
loading. I've asked about doing something similar with Modules, and was
told by Adobe folks on the list that this would be a Bad Idea. However,
I believe they suggested separate apps--just as you are doing. Have you
tried loading the .swfs into the same appdomain?
-- 
Maciek Sakrejda
Truviso, Inc.
http://www.truviso.com

-Original Message-
From: Erich Cervantez f...@noofusion.com
Reply-to: flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cairngorm sub-applications  Remoting
Date: Thu, 16 Apr 2009 17:01:51 -



Has anyone written two distinct Cairngorm-based applications, each
capable of dispatching service calls (via RemoteObject) and tried
loading one inside of the other?

Essentially I have a parent application that uses SWFLoader to load a
sub-application (in a peer Application Domain). The sub-application
loads visually within the parent application but service calls from the
sub-application result in a runtime error:

TypeError: Error #1034: Type Coercion failed: cannot convert
obj...@x to mx.messaging.messages.ErrorMessage.

JBOSS logs show this:

No destination with id 'null' is registered with any service.

The first error appears to be a class-aliasing problem, but both of
these apps are Cairngorm-based Flex applications...the
registerClassAlias method shouldn't be required (besides, I tried that
tactic already to no avail).

This is the only Flex-equivalent of a bat-signal I can think of ;)

Erich









Re: [flexcoders] Cairngorm Question

2009-04-09 Thread claudiu ursica
You do have acess to the model. The combo 2 will be populated with some data. 
Put that into the model and bind combo 2 to the model I'm not sure what you 
actually want to do but it doesn't look like you need cairgorm to do that ...

C





From: skusunam skusu...@rlpt.com
To: flexcoders@yahoogroups.com
Sent: Thursday, April 9, 2009 7:53:48 PM
Subject: [flexcoders] Cairngorm Question





Hello Group,

This is my first question on this group and I have been referring to this group 
for all my technical challenges with Flex (started using 1 month back). Thanks 
for such a nice group and support.

I have a complex screen where I have 2 Combo boxes and by default Combo-2 is 
disabled and will be enabled only when user selects Combo-1 and Server returns 
any Objects for Combo-2 otherwise it will be still disabled.

I have defined an Event `LoadCombo2Event' which is dispatched when user selects 
an entry from Combo-1 and the results will be handled in `LoadComb2Command' . I 
do not have access to Combo2 in this command to Enable or Disable? 

How do we handle this case using Cairngorm?

Thanks,
Sre


   


  

Re: [flexcoders] Cairngorm and ChangeWatcher

2009-01-10 Thread claudiu ursica
http://weblogs.macromedia.com/auhlmann/archives/2007/02/creating_a_popu.html#more

This should give you some directions...

Claudiu





From: lampei lam...@gmail.com
To: flexcoders@yahoogroups.com
Sent: Saturday, January 10, 2009 1:34:25 AM
Subject: [flexcoders] Cairngorm and ChangeWatcher


I have begun tinkering around with various frameworks and thought I
would start with Cairngorm.  I am refactoring a small application to
use Cairngorm, but ran into a snag.  All of the examples I found just
bound an item in the view to a property of the ModelLocator, and thus
automagically updated the value when the property of the ModelLocator
changed.  However, I had one item that is waiting for a response from
a service, and needed to respond to that change (such as an error
message), rather than just display the updated data that is returned.

I found an example that uses the ChangeWatcher class to watch the
property on the ModelLocator.  This seemed to work fine, but I was
wondering if this is still best practice, as the example I found was
from 2006.

Thanks.




  

Re: [flexcoders] Cairngorm v/s others

2009-01-06 Thread Marco Catunda
I would love to know how pronounce it correctly too.

This name is a tongue twister for me. :)   :)

On Sat, Jan 3, 2009 at 10:15 PM, Hyder hyder_...@hotmail.com wrote:
 Btw, I've always wondered, how does one pronounce Cairngorm...
 Kane Gaum ?


Re: [flexcoders] Cairngorm proper usage

2009-01-04 Thread Ralf Bokelberg
It would be in the spirit of Cairngorm to fire off a EnterRoom event,
which triggers a EnterRoom command. The command calls a enterRoom
method in some model.  The TabNavigator binds to this model and
updates itself, whenever the model changes

With kind regards,
Ralf.

On Sun, Jan 4, 2009 at 7:49 AM, someguy7_7 mus...@hotmail.com wrote:
 I am trying to determine the best way to use cairngorm for the
 following use case. I want to display a tabnavigator that only has 1
 child which is a component that has a list of rooms in a datagrid.
 When one of the rooms is clicked a instance of the room component is
 added to the tabnavigator as a child. The room component just has a
 label that says You are in room xx. Can I just fire off a
 regular event from the room list component that the main view is
 listening for so it can add the new child to the tabnav or do I need
 to fire off a cairngorm event that goes through a command which
 somehow gets back to the view and tells it to add a new child to the
 tabnav?

 Any ideas on the best way to set this up so it does not violate the
 spirit/laws of cairngorm?

 Thanks

 


RE: [flexcoders] Cairngorm v/s others

2009-01-03 Thread Errol Thompson
 I really don't know much about the others like Mate and 
 PureMVC so I will only look into them if they've got 
 sufficient advantages of Cairngorm.
 
 Any inputs?

We are using Cairngorm but have implemented an alternative notification
mechanism similar to what is included in PureMVC. The problem we wanted to
address was being able to notify a number of different parts of the program
that a service call was complete. This didn't fit well with the
event/command relationship within Cairngorm.

Previously in this forum, we discussed test-driven development and the
issues that this raised. Test-driven development is really about design and
not validation. In order to allow my tests to drive the design, what might
be considered a view is split into two components. An mxml view that relies
primarily on data binding and a supervising controller (Fowler 2006). The
supervising controller is written in ActionScript and inherits the base
component for the view. It then forms the base component for the mxml view.
This makes the supervising controller and the mxml view appear to be closely
bound. The supervising controller knows nothing of the mxml view. The mxml
view calls functions in the supervising controller to get anything done and
passes as parameters in those functions any data that the supervising
controller may need.

Basically, I wouldn't use Cairngorm in the future nor PureMVC nor any other
framework. Most contain a very limited amount of code. The most useful part
being something that allows notifications or the queuing of events.
Cairngorm provides the services locator but that needs to be mocked out if
you want to run tests that don't land up calling the remote server. I have
achieved this but it suggests to me that there are more flexible solutions.

I see Cairngorm and PureMVC as primarily providing conventions to follow to
implement solutions. The problem is that it is unclear what problems those
conventions address and the nature of the consequences of applying these
conventions.

I have blogged on this at
http://kiwi-et.blogspot.com/2008/12/flex-mvc-frameworks.html.



RE: [flexcoders] Cairngorm ServiceLocator.getInstance(); compile error

2008-12-29 Thread Ryan Graham

getInstance() should be a static method, so you don't need to use new
when calling it:

 

private var __locator:ServiceLocator = ServiceLocator.getInstance();

 

HTH,

Ryan

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of jeremysavoy
Sent: Monday, December 29, 2008 10:39 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cairngorm ServiceLocator.getInstance(); compile
error

 

In one delegate I have the following:

private var __locator:ServiceLocator = new ServiceLocator.getInstance();

And it compiles just fine, and in fact this delegate and remoteobject
service work as expected. I then add the same exact command to another
identical delegate (other than names, generated using Cairngen), using
the same import statement as below ...

import com.adobe.cairngorm.business.ServiceLocator;

But in the second delegate I get the following error...

1048: Method cannot be used as a constructor.

If I remove the .getInstance() from the __locator instantiation, I get
no error.

I can not find any references to such an error anywhere, any help
would be greatly appreciated.

 



This message is private and confidential. If you have received it in error, 
please notify the sender and remove it from your system.

Re: [flexcoders] Cairngorm for AS3 projects?

2008-11-17 Thread Romain de Wolff

It's a pretty hot topic on the web, the battle PureMVC vs Cairngorm.

Imho, PureMVC is a bit more complicated to put in place, but is a  
great pleasure to use after set up.


The best'd be to test them both if you have time :)

Regards,

Romain de Wolff

Le 13 nov. 08 à 17:18, gabriel montagné a écrit :

On Thu, Nov 13, 2008 at 7:03 AM, Rick Schmitty [EMAIL PROTECTED]  
wrote:

 Is there any reason not to use cairngorm for AS3 projects. [...]

Cairngorm is definitely a Flex thing, it's dependencies are not  
superficial;
it wouldn't make much sense to try to use it on a pure AS3 project.  
You'd

have to redo it and redo the stuff it relies on, which is not trivial.

I agree with Pedro that you should take a look at PureMVC... or,  
better yet,

go back to Flex ;-)

--
gabriel montagné láscaris comneno
http://rojored.com
t/506.8367.6794






Re: [flexcoders] Cairngorm for AS3 projects?

2008-11-17 Thread Mark Campion
I've been using Cairgorm with Prana - an IoC framework. It designed to work 
with Cairngorm, as well as Pure MVC but I would definitely advise looking at 
it. With regards to Cairngorm it removes all the problems you have with tight 
coupling etc.



From: Romain de Wolff 
Sent: Monday, November 17, 2008 2:50 PM
To: flexcoders@yahoogroups.com 
Subject: Re: [flexcoders] Cairngorm for AS3 projects?


It's a pretty hot topic on the web, the battle PureMVC vs Cairngorm. 



Imho, PureMVC is a bit more complicated to put in place, but is a great 
pleasure to use after set up. 


The best'd be to test them both if you have time :)


Regards,


Romain de Wolff


Le 13 nov. 08 à 17:18, gabriel montagné a écrit :


  On Thu, Nov 13, 2008 at 7:03 AM, Rick Schmitty [EMAIL PROTECTED] wrote:
   Is there any reason not to use cairngorm for AS3 projects. [...]

  Cairngorm is definitely a Flex thing, it's dependencies are not superficial;
  it wouldn't make much sense to try to use it on a pure AS3 project. You'd
  have to redo it and redo the stuff it relies on, which is not trivial.

  I agree with Pedro that you should take a look at PureMVC... or, better yet,
  go back to Flex ;-)

  -- 
  gabriel montagné láscaris comneno
  http://rojored.com
  t/506.8367.6794





 

Re: [flexcoders] Cairngorm for AS3 projects?

2008-11-13 Thread Pedro Sena
You could take a look at PureMVC.

PS

On Thu, Nov 13, 2008 at 11:03 AM, Rick Schmitty [EMAIL PROTECTED] wrote:

   Is there any reason not to use cairngorm for AS3 projects. I know
 cairngorm uses classes in the mx.* range so its using some flex
 framework code (and I assume that means adding the 126kb framework
 code at least..)

 is there a framework AS3 projects use instead?

 thanks
  




-- 
/**
* Pedro Sena
* Systems Architect
* Sun Certified Java Programmer
* Sun Certified Web Component Developer
*
* Net Sar
* www.netsar.com.br
*/


Re: [flexcoders] Cairngorm for AS3 projects?

2008-11-13 Thread gabriel montagné
On Thu, Nov 13, 2008 at 7:03 AM, Rick Schmitty [EMAIL PROTECTED] wrote:
 Is there any reason not to use cairngorm for AS3 projects. [...]

Cairngorm is definitely a Flex thing, it's dependencies are not superficial;
it wouldn't make much sense to try to use it on a pure AS3 project.  You'd
have to redo it and redo the stuff it relies on, which is not trivial.

I agree with Pedro that you should take a look at PureMVC... or, better yet,
go back to Flex ;-)


-- 
gabriel montagné láscaris comneno
http://rojored.com
t/506.8367.6794


Re: [flexcoders] Cairngorm for AS3 projects?

2008-11-13 Thread Robin Hilliard

Hi Rick,

In the past we developed several AS2 Flash (not Flex) applications in  
Cairngorm. In the current version of of Cairngorm almost all of the  
dependencies on mx packages are in the ServiceLocator, which used not  
to be the case with earlier Cairngorm versions. You can roll your own  
old style ServiceLocator using the singleton code from the comments in  
IModelLocator (maybe also make the class dynamic).


The only other thing you'll miss is bindings, which are God's gift to  
MVC developers although somehow they seem to be something the other  
Flex frameworks try to avoid using for some reason I fail to fathom...  
oops I'm ranting.  Anyway without binding the ViewHelper pattern can  
help - this also used to be part of Cairngorm, although now deprecated.


Here's an old blog post of ours with an example of Cairngorm (I think  
0.99) in a Flash project:


http://www.rocketboots.com/blog/index.cfm?mode=entryentry=83219052-E081-51EF-A73B5F4EF642C3F5

Cheers,
Robin


ROBIN HILLIARD
Chief Executive Officer
[EMAIL PROTECTED]

RocketBoots Pty Ltd
Level 11
189 Kent Street
Sydney NSW 2001
Australia
Phone +61 2 9323 2507
Facsimile +61 2 9323 2501
Mobile +61 418 414 341
www.rocketboots.com.au  



On 14/11/2008, at 12:03 AM, Rick Schmitty wrote:


Is there any reason not to use cairngorm for AS3 projects. I know
cairngorm uses classes in the mx.* range so its using some flex
framework code (and I assume that means adding the 126kb framework
code at least..)

is there a framework AS3 projects use instead?

thanks


Re: [flexcoders] Cairngorm: should pure view state changes go through the ModelLocator?

2008-10-24 Thread Farid SALAH


Le 24 oct. 08 à 03:48, Dimitrios Gianninas a écrit :


#2 because your app is simple..#1 if you want to be a purist.

start simply and add complexity as you go along, thats my rule.


That's a good rule !

If your 2 components in your view are in the same component, let's say  
whatever Panel or Canvas you can think of , I don't see why you should  
go all the MVC way.


Farid
 

Re: [flexcoders] Cairngorm: should pure view state changes go through the ModelLocator?

2008-10-24 Thread Fro Rosqueta
I also vote for #2. Seems strange for me to have a boolean in the
ModelLocator that is specific to this UI context. I always thought the
ModelLocator should only have data that is potentially global to the app
(like your list of users), and find it strange that many online Cairngorm
examples put something like the working item of an edit form (e.g., you have
a form that edits the properties of a specific user, and a variable for that
user is added to the ModelLocator). So I wouldn't consider your boolean
flags to be part of your app's model.

On Thu, Oct 23, 2008 at 6:48 PM, Dimitrios Gianninas 
[EMAIL PROTECTED] wrote:

#2 because your app is simple..#1 if you want to be a purist.

 start simply and add complexity as you go along, thats my rule.

 *Dimitrios Gianninas*
 *RIA Developer Team Lead*
 *Optimal Payments Inc.*


  --
 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *O. Frabjous-Dey
 *Sent:* Thursday, October 23, 2008 6:26 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] Cairngorm: should pure view state changes go
 through the ModelLocator?

  Hi everyone,

 Here's a design question for you Cairngorm experts.

 In my application's view, I have two main subcomponents: a control bar sort
 of custom component that I wrote that we'll call the FrabjousControlBar, and
 a DataGrid, which lists all the users in my application.  These users are
 either Administrators or Members.

 The FrabjousControlBar contains two checkboxes: a checkbox labeled Show
 Administrators and a checkbox labeled Show Members.  Both are checked by
 default, but when Show Administrators is unchecked, the DataGrid removes
 all of the Administrators.  Something similar happens for Show Members.

 I'm having trouble choosing the correct implementation for this.  There are
 two ways I can see to do this:

 1) When a user unchecks Show Administrators, the control kicks off a
 Cairngorm Event, the controller executes a Command that changes a boolean
 flag in the ModelLocator, and the DataGrid responds to the change on that
 flag.

 2) Since the user interaction affects the view only, no MVC round trip
 occurs.  My view knows when the box is unchecked and updates the DataGrid
 accordingly.

 Which is better?  1) is more pleasingly MVC, but comes with a lot of
 overhead and additional effort.

 Thanks,
 O.

 *AVIS IMPORTANT*

 *WARNING*

 Ce message électronique et ses pièces jointes peuvent contenir des
 renseignements confidentiels, exclusifs ou légalement privilégiés destinés
 au seul usage du destinataire visé. L'expéditeur original ne renonce à aucun
 privilège ou à aucun autre droit si le présent message a été transmis
 involontairement ou s'il est retransmis sans son autorisation. Si vous
 n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu
 par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi
 que toutes ses pièces jointes, de votre système. La lecture, la
 distribution, la copie ou tout autre usage du présent message ou de ses
 pièces jointes par des personnes autres que le destinataire visé ne sont pas
 autorisés et pourraient être illégaux. Si vous avez reçu ce courrier
 électronique par erreur, veuillez en aviser l'expéditeur.

 This electronic message and its attachments may contain confidential,
 proprietary or legally privileged information, which is solely for the use
 of the intended recipient. No privilege or other rights are waived by any
 unintended transmission or unauthorized retransmission of this message. If
 you are not the intended recipient of this message, or if you have received
 it in error, you should immediately stop reading this message and delete it
 and all attachments from your system. The reading, distribution, copying or
 other use of this message or its attachments by unintended recipients is
 unauthorized and may be unlawful. If you have received this e-mail in error,
 please notify the sender.
   



RE: [flexcoders] Cairngorm: should pure view state changes go through the ModelLocator?

2008-10-23 Thread Dimitrios Gianninas
#2 because your app is simple..#1 if you want to be a purist.
 
start simply and add complexity as you go along, thats my rule.
 
Dimitrios Gianninas
RIA Developer Team Lead
Optimal Payments Inc.
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of O. 
Frabjous-Dey
Sent: Thursday, October 23, 2008 6:26 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cairngorm: should pure view state changes go through the 
ModelLocator?



Hi everyone,

Here's a design question for you Cairngorm experts.

In my application's view, I have two main subcomponents: a control bar sort of 
custom component that I wrote that we'll call the FrabjousControlBar, and a 
DataGrid, which lists all the users in my application.  These users are either 
Administrators or Members.

The FrabjousControlBar contains two checkboxes: a checkbox labeled Show 
Administrators and a checkbox labeled Show Members.  Both are checked by 
default, but when Show Administrators is unchecked, the DataGrid removes all 
of the Administrators.  Something similar happens for Show Members.

I'm having trouble choosing the correct implementation for this.  There are two 
ways I can see to do this:

1) When a user unchecks Show Administrators, the control kicks off a 
Cairngorm Event, the controller executes a Command that changes a boolean flag 
in the ModelLocator, and the DataGrid responds to the change on that flag.

2) Since the user interaction affects the view only, no MVC round trip occurs.  
My view knows when the box is unchecked and updates the DataGrid accordingly.

Which is better?  1) is more pleasingly MVC, but comes with a lot of overhead 
and additional effort.

Thanks,
O.


 

-- 
WARNING
---
This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the use of 
the intended recipient.  No privilege or other rights are waived by any 
unintended transmission or unauthorized retransmission of this message.  If you 
are not the intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete it and all 
attachments from your system.  The reading, distribution, copying or other use 
of this message or its attachments by unintended recipients is unauthorized and 
may be unlawful.  If you have received this e-mail in error, please notify the 
sender.

AVIS IMPORTANT
--
Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés destinés au 
seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun 
privilège ou à aucun autre droit si le présent message a été transmis 
involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes 
pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, 
veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système.  La lecture, la distribution, la copie ou 
tout autre usage du présent message ou de ses pièces jointes par des personnes 
autres que le destinataire visé ne sont pas autorisés et pourraient être 
illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en 
aviser l'expéditeur.



RE: [flexcoders] Cairngorm

2008-10-02 Thread Dimitrios Gianninas
or just read here: http://www.cairngormdocs.org/
 
Dimitrios Gianninas
RIA Developer Team Lead
Optimal Payments Inc.
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
florian.salihovic
Sent: Thursday, October 02, 2008 8:49 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cairngorm



Don't foget the subject next time. The following link might help.

http://www.adobe.com/devnet/flex/articles/cairngorm_pt1.html 
http://www.adobe.com/devnet/flex/articles/cairngorm_pt1.html 

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Anand 
Kumar [EMAIL PROTECTED] wrote:

 Hi,
 
 Please some one explain me about  Cairngorm architecture.
 
 Thanks
 Anand




 

-- 
WARNING
---
This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the use of 
the intended recipient.  No privilege or other rights are waived by any 
unintended transmission or unauthorized retransmission of this message.  If you 
are not the intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete it and all 
attachments from your system.  The reading, distribution, copying or other use 
of this message or its attachments by unintended recipients is unauthorized and 
may be unlawful.  If you have received this e-mail in error, please notify the 
sender.

AVIS IMPORTANT
--
Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés destinés au 
seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun 
privilège ou à aucun autre droit si le présent message a été transmis 
involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes 
pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, 
veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système.  La lecture, la distribution, la copie ou 
tout autre usage du présent message ou de ses pièces jointes par des personnes 
autres que le destinataire visé ne sont pas autorisés et pourraient être 
illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en 
aviser l'expéditeur.



RE: [flexcoders] Cairngorm Update Problem

2008-09-24 Thread Ryan Graham

You could put a property on the model that the component can bind to,
that way the command could just update the model after the delegate
returns and databinding will take care of the rest for you.  I
personally don't like keeping state properties like that in my model,
so I usually use Cairngorm Extensions. You should check out their
Callbacks model -- it solves your exact problem and is the functionality
that turned me on to it.  If you are already too far along in your
project to switch to extensions, I'd go with the first option for the
quick fix.
 
http://umcairngorm.riaforge.org/
http://code.google.com/p/flexcairngorm/
 
HTH,
Ryan
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of c_higgon
Sent: Wednesday, September 24, 2008 3:45 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cairngorm Update Problem



I am working on a Cairngorm project. I am using a ViewStack component 
to flip the user interface between a graph component and a filter data 
component both in the view layer. The basic concept of the 
application is to have a line graph and allow the users to filter the 
data using an input screen. All of this works the first time the user 
enters the application and uses the filter option. 

The problem I am having is the second or third time the user enters the 
filter screen. I cannot find a way to tell the graph component to 
reset itself after the event is dispatch and the controller takes over 
and new data needs to be displayed in the graph. (IE remove any 
annotationElements that were on the old graph)

Is there a way to notify the component in the view layer of a Cairngorm 
project from the command layer when the results are return from the 
delegate? 

Thanks,
~Chris



 


This message is private and confidential. If you have received it in error, 
please notify the sender and remove it from your system.

Re: [flexcoders] Cairngorm Update Problem

2008-09-24 Thread jitendra jain
Either you need to call the ViewStack.callLater(FunctionName)
 Thanks,

with Regards,
Jitendra Jain




- Original Message 
From: c_higgon [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, 25 September, 2008 4:15:10 AM
Subject: [flexcoders] Cairngorm Update Problem


I am working on a Cairngorm project. I am using a ViewStack component 
to flip the user interface between a graph component and a filter data 
component both in the view layer. The basic concept of the 
application is to have a line graph and allow the users to filter the 
data using an input screen. All of this works the first time the user 
enters the application and uses the filter option. 

The problem I am having is the second or third time the user enters the 
filter screen. I cannot find a way to tell the graph component to 
reset itself after the event is dispatch and the controller takes over 
and new data needs to be displayed in the graph. (IE remove any 
annotationElements that were on the old graph)

Is there a way to notify the component in the view layer of a Cairngorm 
project from the command layer when the results are return from the 
delegate? 

Thanks,
~Chris

 


  Be the first one to try the new Messenger 9 Beta! Go to 
http://in.messenger.yahoo.com/win/

Re: [flexcoders] Cairngorm BlazeDS Sample App

2008-09-20 Thread Sefi Ninio
Of course you can't, since that's where the server service gets called...
Go over the server code with the one who developed it, and debug if from
there...

On Thu, Sep 18, 2008 at 12:19 AM, c_higgon [EMAIL PROTECTED]
 wrote:

   Does anyone have a working example of a Cairngorm project the uses a
 BlazeDS backend service (Tomcat Server)? In my application, the
 Command class is always hitting the fault function and I am not able to
 debug it pass the point the delegate service is called.

 ---
 Thanks,
 ~Chris

  



RE: [flexcoders] Cairngorm - BlazeDS Example

2008-09-18 Thread Dimitrios Gianninas
If you have BlazeDS and looked at the examples, then you know how to connect to 
the backend.
 
To do in Caingorm, just read the docs: http://www.cairngormdocs.org/ 
http://www.cairngormdocs.org/ 
 
Basically your command class will use a delegate class to call the server. The 
delegate class will use the ServiceLocator to get a reference to the 
appropriate service defined in the Services.mxml file.
 
!-- Services.mxml --
cairngorm:ServiceLocator xmlns:mx=http://www.adobe.com/2006/mxml;

xmlns:cairngorm=com.adobe.cairngorm.business.* 

!-- SystemServices remote reference --

mx:RemoteObject id=systemServices destination=systemService 

concurrency=single

showBusyCursor=false /

/cairngorm:ServiceLocator

 
!-- Delegate --
 
package com.optimal.bluebird.business {

import com.adobe.cairngorm.business.ServiceLocator;

/**

* @author Dimitrios Gianninas

*/

public class SystemDelegate {

private var service:Object;

private var responder:IResponder;

/**

* Default Constructor

*/

public function SystemDelegate( responder:IResponder ) {

service = ServiceLocator.getInstance().getRemoteObject( systemServices );

this.responder = responder;

}

/**

* Loads static lists used by the UI.

*/

public function getStaticLists():void {

var call:AsyncToken = service.getStaticLists();

call.addResponder( responder );

}

}

}

 
// Command class
 
package com.optimal.bluebird.commands.system {

public class GetStaticListsCmd  implements ICommand, IResponder {

/**

* Default Constructor

*/

public function GetStaticListsCmd() {

}

override public function execute( evt:CairngormEvent ):void {

var delegate:SystemDelegate = new SystemDelegate( this );

delegate.getStaticLists();

}

public function result( event:Object ):void {

// handle results

}

public function fault( event:Object ):void {

// handle fault

}

}

}

xxx
 
xxx
 
xxx
 
Dimitrios Gianninas
RIA Developer Team Lead
Optimal Payments Inc.
 




From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of c_higgon
Sent: Thursday, September 18, 2008 8:16 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cairngorm - BlazeDS Example



Does any know of a good example of a Cairngorm project that uses a 
BlazeDS backend service? I am having problem delegate to connect to 
the backend server. Any help would be greatly appreciated.

~Chris



 

-- 
WARNING
---
This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the use of 
the intended recipient.  No privilege or other rights are waived by any 
unintended transmission or unauthorized retransmission of this message.  If you 
are not the intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete it and all 
attachments from your system.  The reading, distribution, copying or other use 
of this message or its attachments by unintended recipients is unauthorized and 
may be unlawful.  If you have received this e-mail in error, please notify the 
sender.

AVIS IMPORTANT
--
Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés destinés au 
seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun 
privilège ou à aucun autre droit si le présent message a été transmis 
involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes 
pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, 
veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système.  La lecture, la distribution, la copie ou 
tout autre usage du présent message ou de ses pièces jointes par des personnes 
autres que le destinataire visé ne sont pas autorisés et pourraient être 
illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en 
aviser l'expéditeur.



Re: [flexcoders] cairngorm sevice locator performance?

2008-07-29 Thread Tom Chiverton
On Monday 28 Jul 2008, markflex2007 wrote:
 Do you think if it affect the performance because no garbage
 collection for each delegate?

No.
I've never seen anyone even suggest it might be an issue.
Why do you ask ?

-- 
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office. Any reference 
to a partner in relation to Halliwells LLP means a member of Halliwells LLP.  
Regulated by The Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



Re: [flexcoders] Cairngorm concepts

2008-07-10 Thread Douglas Knudsen
have a go at this
http://www.cairngormdocs.org/tools/CairngormDiagramExplorer.swf

DK

On Thu, Jul 10, 2008 at 7:37 AM, oscar.12321 [EMAIL PROTECTED] wrote:
 I have the past few days reading about Cairngorm and, at all, i don't
 understand the concept behind de events and commands.

 The people says that a event-command pair corresponds to a user
 gesture or system event: clicks, app init, etc. But when i browse the
 Cairngorm store app i found things like these:

 - Command modifies the model and the model notifies the view throw
 bindings: this seems logic to me.

 - Selecting a product in the view directly changes the
 model.selectedItem: where is the command?. What we have here is a user
 gesture and a model update without Cairngorm event or command.

 - Retrieving the products with a GetProductsCommand: what kind of
 event+command is this?. The system event shold be appInit or the like,
 and then usually you need to retrieve many things, not only products.
 Why server request = command?

 - Finally, the checkout process is divided in a sequence of commands.
 The user gesture is checkout, but the app uses serveral commands.

 This has no sense for me. I think the theory was right, but when
 applied is twisted to match the framework limitations.

 This is suposed to be the mother of the samples (an the only one, i
 think).

 Could any one clarify me when to use a command an how to explain the
 concept to other people?

 Thanks

 - Oscar

 



-- 
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?


Re: [flexcoders] Cairngorm concepts

2008-07-10 Thread shaun
Douglas Knudsen wrote:
 have a go at this
 http://www.cairngormdocs.org/tools/CairngormDiagramExplorer.swf
 

Very nice indeed.

  - shaun


RE: [flexcoders] Cairngorm Result and Fault Handlers not called

2008-07-04 Thread Dimitrios Gianninas
Which version of Cairngorm are you using? seems like an old one. At quick 
glance your code seems fine.
 
Not really sure what to recommend except maybe upgrade to version 2.2.1? You 
dont have to do that call to loadWSDL(), it is taken of for you.
 
Here is that the delegate should look like:
 
public class AgentDelegate {
 
  private var service:Object;
  private var responder:IResponder;
 
  public function AgentDelegate( responder:IResponder ) {
   service = ServiceLocator.getInstance().getWebService( agentServices );
   this.responder = responder;
  }
 
 public function search( criteria:String ):void {
   var call:AsyncToken = service.search( criteria );
   call.addResponder( responder );
  }
 }
 
And here is the Command class:
 
public class SearchAgentCmd implements ICommand, IResponder {
 
  public function SearchAgentCmd() {
 
  }
 
  public function execute( event:CairngormEvent ):void {
   var evt:SearchAgentEvent = event as SearchAgentEvent;
   var delegate:AgentDelegate = new AgentDelegate( this );
   delegate.search( evt.name );
  }
 
  public function result( event:Object ):void {
   var evt:ResultEvent = event as ResultEvent;
   UserModel.getInstance().agentSearchResults = evt.result as ArrayCollection;
  }
 
  public function fault( event:Object ):void {
   var evt:FaultEvent = event as FaultEvent;
   //show error message somehow
  }
 }
 
Dimitrios Gianninas
RIA Developer and Team Lead
Optimal Payments Inc.
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jfournet
Sent: Thursday, July 03, 2008 6:04 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cairngorm Result and Fault Handlers not called



I have one command in my application in which the result and fault 
handlers are not called. All other work fine. The webservice that 
is tied to it gets executed and data is returned, as I can see it in 
the flex log file. Does anyone know what might cause this???

Command File:

package com.bmc.rem.command.learning
{

import com.adobe.cairngorm.business.Responder;
import com.adobe.cairngorm.commands.Command;
import com.adobe.cairngorm.control.CairngormEvent;
import com.bmc.rem.common.eventBroadcaster.REMEventBroadcaster;
import com.bmc.rem.controller.REMControl;
import com.bmc.rem.delegate.probe.ProbeServicesDelegate;
import com.bmc.rem.vo.learning.*;
import mx.utils.ObjectUtil;

import mx.collections.ArrayCollection;

public class GetLearningResultsCommand implements Command, Responder
{

public function execute( event:CairngormEvent ) : void
{
trace(*** executing get learning results ***);
var delegate: ProbeServicesDelegate = new 
ProbeServicesDelegate( this ); 
delegate.getLearningResults(event.data);
trace(** after delegate.getLearningResults *);

}

/**
* The onResult method is called when the server side method 
completes successfully.
* @param event The event containing the information returned by 
the server.
* 
*/
public function onResult( event : *=null ) : void
{ 

trace(***learning data format = 
** + ObjectUtil.toString(event.result));
REMEventBroadcaster.getInstance().dispatchEvent
(REMControl.EVENT_GET_LEARNING_RESULTS_SUCCESSFUL, null);
}

/**
* The onFault method is called when the server side method call 
returns an exception.
* @param event The event containing the exception returned by the 
server.
* 
*/
public function onFault( event : *=null ) : void
{
trace(** on fault learning restults);
REMEventBroadcaster.getInstance().dispatchEvent
(REMControl.EVENT_SHOW_SERVER_ERROR, event.fault.message);
REMEventBroadcaster.getInstance().dispatchEvent( 
REMControl.EVENT_GET_LEARNING_RESULTS_FAILURE );
}
}
}

Delegate:

package com.bmc.rem.delegate.probe
{

import com.adobe.cairngorm.business.Responder;
import com.adobe.cairngorm.business.ServiceLocator;
import com.bmc.rem.model.ModelLocator;
import com.bmc.rem.vo.probe.LearningCriteriaVO;

import mx.rpc.AsyncToken;
import mx.rpc.soap.mxml.WebService;

public class ProbeServicesDelegate
{

/**
* The responder to the server side service calls
*/
private var responder:Responder;


private var service:Object;

private var probeServicesFacade:Object;

public function ProbeServicesDelegate( responder : Responder )
{

this.probeServicesFacade = ServiceLocator.getInstance
().getService(probeServicesFacade) as WebService;
if( !ModelLocator.getInstance().isProbeWSDLLoaded)
{
ModelLocator.getInstance().isProbeWSDLLoaded = 
true; 
this.probeServicesFacade.loadWSDL();

}

this.responder = responder;
}

public function startLearning
(learningSession:LearningCriteriaVO):void
{

var startLearningString:String = 

q1:SetLearningSetting 
xmlns:q0=\http://tmremprobe.bmc.com/datamodel/common 
http://tmremprobe.bmc.com/datamodel/common \ 
xmlns:q1=\http://tmremprobe.bmc.com/ws/ProbeService 
http://tmremprobe.bmc.com/ws/ProbeService \ +

q0:LearningActive/q0:
Learning +
q0:UserId / +
q0:IPRange +

q0:StartingIP + 


Re: [flexcoders] Cairngorm Event Question

2008-06-18 Thread Alen Balja
You can try Universal Mind Cairngorm Extensions:

http://code.google.com/p/flexcairngorm/

Among others it has these Event features:


   - Built-in support to transport responders for direct view or business
   logic callbacks.
   - Implementation of AnnounceFaultEvent to allow business logic to
   centralize error reporting and logging.
   - Implementation of EventGenerator to allow developers to automate
   dispatching of sequences of events.
   - Events now should self-dispatch... for direct deliver to the
   business/controller layer.


Alen



On Thu, Jun 19, 2008 at 6:18 AM, donvoltz [EMAIL PROTECTED] wrote:

   I have been building on my cairngorm experience and have come up to a
 snag.

 I understand the whole idea about using the controller to trap and
 respond to events, however, how do I deal with custom view components
 that need to respond to an event.

 For example, I have a custom component that contains an advanced data
 grid. I am filling the modelLocator with data from the server and
 using this as the data provider for the advanced data grid. The
 problem I have is when the user selects a different date, I generate a
 cairngorm event to load new data from the server. This information is
 dealt with in the controller, however, I am not able to send the event
 to the custom component to refresh the advance data grid and display
 the data.

 Would someone help me to understand how I can use the events, or
 generate a new custom event to trigger some activity within a custom
 view component

 Thanks for the help

 Don

  



Re: [flexcoders] Cairngorm work with local files?

2008-05-28 Thread Tom Chiverton
On Monday 26 May 2008, markflex2007 wrote:
 Do you think if I can debug cairngorm application with local files
 like c:\test\bin\test.html?

Yup, Cairngorm doesn't care. It even runs in AIR.

-- 
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office. Any reference 
to a partner in relation to Halliwells LLP means a member of Halliwells LLP.  
Regulated by The Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



RE: [flexcoders] Cairngorm - always event, always command?

2008-05-01 Thread Jim Hayes

I can't see how you'd benefit from sidestepping the cairngorm event - command 
way of working in this case.
If you use a service to get the IP address then it's asynchronous, and has a 
few possible outcomes.
I can't see why you wouldn't want to wait for it's got one of those results or 
an error event and then deal with the outcome.
Which is where the cairngorm way of doing things is really helpful.

If it's synchronous (like opening a database or prefs file in AIR, say), then 
you could maybe skip cairngorm (I do, and get away with it, mostly).
In which case I can't see the benefit of thinking of (or packaging ) it as a 
cairngorm command. I'd rather put it somewhere else and know it was a different 
thing.

But what I've found most of the time is that if you're going to do a cairngorm 
app then it's really worth going with the flow and doing pretty well everything 
that way,
even if it does mean writing 3 classes when you could get away with a local 
method.
Generally, when I've made short cuts like that it's come back and bitten me on 
the arse.
I do still do it when I'm in experimental/creative or lazy mode, but now I'll 
try to refactor it into the cairngorm way sooner rather than later.
Which is sometimes a bit boring, but there you go.

Hope that makes (at least some) sense!



-Original Message-
From: flexcoders@yahoogroups.com on behalf of chigwell23
Sent: Thu 01/05/2008 22:51
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cairngorm - always event, always command?
 
pseudocode:

creationComplete
var ipAddress:String
ipAddress = getUserIP()


function getuserIP():String{

   // use Services to go out to ColdFusion which can tell me user IP
   return IP
   }

But Cairngorm encapsulates actions into commands which are driven by
an event and a delegate. So how does it handle examples like the one
above? Should I create a getIP event, which is dispatched from
creationComplete, and use the standard command/delegate path. If the
event is not necessary, and it still makes sense to put the action
in a command, how would that command get activated without the
Cairngorm event process? I know what I mean grin. TIA,

Mic.



__
This communication is from Primal Pictures Ltd., a company registered in 
England and Wales with registration No. 02622298 and registered office: 4th 
Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT 
registration No. 648874577.

This e-mail is confidential and may be privileged. It may be read, copied and 
used only by the intended recipient. If you have received it in error, please 
contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 
1010. Please then delete the e-mail and do not disclose its contents to any 
person.
This email has been scanned for Primal Pictures by the MessageLabs Email 
Security System.
__winmail.dat

Re: [flexcoders] Cairngorm Model Locator

2008-04-30 Thread Tom Chiverton
On Tuesday 29 Apr 2008, gerhard.schlager wrote:
 1) How can I make sure that unused data gets removed from the Model
 Locator? 

Why do you need to do so ?

-- 
Tom Chiverton
Helping to vitalistically negotiate B2C content
on: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office. Any reference 
to a partner in relation to Halliwells LLP means a member of Halliwells LLP.  
Regulated by The Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



RE: [flexcoders] Cairngorm Model Locator

2008-04-29 Thread Battershall, Jeff
Gerhard,

One approach I took is to have localized models that apply to specific
modules in the application, as opposed to having a proliferation of
variables that apply across multiple aspects of the application, which
could get ugly.  They still could live in the singleton Model Locator,
but could be condition 're-set' when no longer used or needed to be
refreshed. Like ModelLocator.getInstance().mylocalModel = new
MyLocalModel().

I'd think there'll be a lot of oppinions about how to approach this.

Jeff

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of gerhard.schlager
Sent: Tuesday, April 29, 2008 12:24 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cairngorm Model Locator


Hello!

I'm currently creating the software design for a large application which
we are going to build using Flex 3, Cairngorm 2.2.1 and SabreAMF (PHP).
I have already created my first prove of concept, however, I have a few
issues with Cairngorm's Model Locator.

1) How can I make sure that unused data gets removed from the Model
Locator? The simple solution would be to destroy the data that a view
loaded when the view gets closed. However, we are going to use flexmdi
and it's quite possible that one or more MDI windows are using the same
data. The only solution I've come up so far is to make the Model Locator
aware of which window uses which data. Therefore it could free the
unused data when no view uses it anymore. Yet, this could be a very
error-prone solution. Moreover, I would loose the last bit of loose
coupling. So, I'm not sure if that's a good way to handle this. Well,
the Model Locator itself is often seen as an anti-pattern as well ...

2) Should I really put everything into _one_ Model Locator? I guess
there could be quite a large number of public variables. Our application
will have up to 50 different views and about twice as many VO ...

I'd be really grateful if somebody could enlighten my ;-) or if you
could give me some tips on how to solve those two problems.

Thanks in advance for your help.

Best regards,
Gerhard




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
Links





Re: [flexcoders] Cairngorm Model Locator

2008-04-29 Thread Ben Clinkinbeard
You definitely don't want your model keeping track of views using its data.
My 30 second recommendation would be to look into the UM Cairngorm
extensions as they can help you reduce the amount of clutter that needs to
be stored on the/a model. Specifically view callbacks is the feature that
helps enable that. Search flexcoders for additional discussion of UM
Cairngorm.

HTH,
Ben


On Tue, Apr 29, 2008 at 12:24 PM, gerhard.schlager 
[EMAIL PROTECTED] wrote:

   Hello!

 I'm currently creating the software design for a large application
 which we are going to build using Flex 3, Cairngorm 2.2.1 and SabreAMF
 (PHP). I have already created my first prove of concept, however, I
 have a few issues with Cairngorm's Model Locator.

 1) How can I make sure that unused data gets removed from the Model
 Locator? The simple solution would be to destroy the data that a view
 loaded when the view gets closed. However, we are going to use flexmdi
 and it's quite possible that one or more MDI windows are using the
 same data. The only solution I've come up so far is to make the Model
 Locator aware of which window uses which data. Therefore it could free
 the unused data when no view uses it anymore. Yet, this could be a
 very error-prone solution. Moreover, I would loose the last bit of
 loose coupling. So, I'm not sure if that's a good way to handle this.
 Well, the Model Locator itself is often seen as an anti-pattern as
 well ...

 2) Should I really put everything into _one_ Model Locator? I guess
 there could be quite a large number of public variables. Our
 application will have up to 50 different views and about twice as many
 VO ...

 I'd be really grateful if somebody could enlighten my ;-) or if you
 could give me some tips on how to solve those two problems.

 Thanks in advance for your help.

 Best regards,
 Gerhard

  



Re: [flexcoders] Cairngorm ServiceLocator

2008-04-23 Thread Christophe Herreman
Hi Vivian,

we have recently been talking about this with the development team.
I agree with you that video tutorials would be a great aid, so I'll try to
put something together.

regards,
Christophe

-- 
Christophe Herreman
http://www.herrodius.com
http://www.pranaframework.org

2008/4/23 Vivian Richard [EMAIL PROTECTED]:



Hey Christophe, is it possible that you create some video tutorial of
 Prana?
I guess that way developers will be able to adopt it faster. Just my 2
 cents!!!



 On Tue, Apr 22, 2008 at 9:07 PM, Christophe Herreman [EMAIL PROTECTED]
 wrote:

Hi Eric,
 
  have you looked at the modified CairngormServiceLocator in Prana?
  http://www.herrodius.com/blog/131
 
  regards,
  Christophe
 
  2008/4/23 Eric Cancil [EMAIL PROTECTED]:
 
 I think a little more thought could be put into this class.  Due to
   the fact that it uses describeType to discover the services that have been
   added to it, and it is not a dynamic class/ does not have any way to
   dynamically add services at runtime...it makes it in my view impossible to
   add say for example services that youve loaded in an initialization file 
   at
   runtime.  If an accessor method to add service at runtime was added I 
   think
   it would make this class a lot more dynamic.  Instead it relies on MXML
   being compiled down to AS and variables automatically being added.
  
   Any thoughts?
   Eric
  
   Ps... please dont suggest to roll my own locator, i know ;)
  
 
 
 
  --
  Christophe Herreman
  http://www.herrodius.com
  http://www.pranaframework.org
 

  




-- 
Christophe Herreman
http://www.herrodius.com
http://www.pranaframework.org


Re: [flexcoders] Cairngorm ServiceLocator

2008-04-22 Thread Christophe Herreman
Hi Eric,

have you looked at the modified CairngormServiceLocator in Prana?
http://www.herrodius.com/blog/131

regards,
Christophe

2008/4/23 Eric Cancil [EMAIL PROTECTED]:

   I think a little more thought could be put into this class.  Due to the
 fact that it uses describeType to discover the services that have been added
 to it, and it is not a dynamic class/ does not have any way to dynamically
 add services at runtime...it makes it in my view impossible to add say for
 example services that youve loaded in an initialization file at runtime.  If
 an accessor method to add service at runtime was added I think it would make
 this class a lot more dynamic.  Instead it relies on MXML being compiled
 down to AS and variables automatically being added.

 Any thoughts?
 Eric

 Ps... please dont suggest to roll my own locator, i know ;)
  




-- 
Christophe Herreman
http://www.herrodius.com
http://www.pranaframework.org


Re: [flexcoders] Cairngorm ServiceLocator

2008-04-22 Thread Vivian Richard
   Hey Christophe, is it possible that you create some video tutorial of
Prana?
   I guess that way developers will be able to adopt it faster. Just my 2
cents!!!



On Tue, Apr 22, 2008 at 9:07 PM, Christophe Herreman [EMAIL PROTECTED]
wrote:

   Hi Eric,

 have you looked at the modified CairngormServiceLocator in Prana?
 http://www.herrodius.com/blog/131

 regards,
 Christophe

 2008/4/23 Eric Cancil [EMAIL PROTECTED]:

I think a little more thought could be put into this class.  Due to
  the fact that it uses describeType to discover the services that have been
  added to it, and it is not a dynamic class/ does not have any way to
  dynamically add services at runtime...it makes it in my view impossible to
  add say for example services that youve loaded in an initialization file at
  runtime.  If an accessor method to add service at runtime was added I think
  it would make this class a lot more dynamic.  Instead it relies on MXML
  being compiled down to AS and variables automatically being added.
 
  Any thoughts?
  Eric
 
  Ps... please dont suggest to roll my own locator, i know ;)
 



 --
 Christophe Herreman
 http://www.herrodius.com
 http://www.pranaframework.org
 



Re: [flexcoders] Cairngorm ModelLocator array filter...

2008-04-15 Thread Vivian Richard
Wow liked both the solutions. One is to make a copy and then add the
filter function and the other one is to add the filer function in
command.

Great thanks.




On Mon, Apr 14, 2008 at 3:26 PM, gabriel montagné 
[EMAIL PROTECTED] wrote:

   On Mon, Apr 14, 2008 at 12:49 PM, hworke [EMAIL 
 PROTECTED]kanpsack%40gmail.com
 wrote:
 
  Hi I am using Cairngorm and in my ModelLocator I do
  have an array. I want to filter that array with a
  filter function. My question is where do I put this
  filter function: in a separate file or in the
  ModelLocator class?

 I personally (and the other guys on my team) we like to keep the models
 with absolutely no logic at all. The beauty of the command pattern is
 that all the logic is kept in small, discrete classes, all nicely tucked
 into their appropriate packages.

 If we need to setup sorts and filters or whatever on the data on the
 model, we do it from the commands that set that data initially. If you
 do need to keep changing that filter from time to time, I would further
 abstract it into another event + command pair.

 Once we did a search like that. We had a package of commands for
 processing search that would be in charge of taking the query and use it
 to build the custom filters and sorts for the catalog data.

 Hope this helps,
 G.

 --
 gabriel montagné láscaris comneno
 http://rojored.com
 t/506.8392.2040
  



Re: [flexcoders] Cairngorm ModelLocator array filter...

2008-04-14 Thread Daniel Gold
depends on your architecture and what feels best in your project. Problem
with filtering an ArrayCollection directly in the model is that any views
bound to that model will also be filtered. Usually I have a large dataset in
an ArrayCollection in the model, and have a view that might have a search
box that filters items in a list. I create a new ArrayCollection in that
view, set the arrayCollection.source =
modelLocator.dataArrayCollection.source, and then apply a filterFunction to
the local arrayCollection specific to that view. That way each view has ways
of filtering its own local ArrayCollection wrapper around the same data set
in the model.

But to each their own. Depends on how shared the data is and how you like to
keep things divided

On Mon, Apr 14, 2008 at 1:49 PM, hworke [EMAIL PROTECTED] wrote:



 Hi I am using Cairngorm and in my ModelLocator I do
 have an array. I want to filter that array with a
 filter function. My question is where do I put this
 filter function: in a separate file or in the
 ModelLocator class?

  



Re: [flexcoders] Cairngorm ModelLocator array filter...

2008-04-14 Thread gabriel montagné
On Mon, Apr 14, 2008 at 12:49 PM, hworke [EMAIL PROTECTED] wrote:

  Hi I am using Cairngorm and in my ModelLocator I do
  have an array. I want to filter that array with a
  filter function. My question is where do I put this
  filter function: in a separate file or in the
  ModelLocator class?

I personally (and the other guys on my team) we like to keep the models
with absolutely no logic at all.  The beauty of the command pattern is
that all the logic is kept in small, discrete classes, all nicely tucked
into their appropriate packages.

If we need to setup sorts and filters or whatever on the data on the
model, we do it from the commands that set that data initially.   If you
do need to keep changing that filter from time to time, I would further
abstract it into another event + command pair.

Once we did a search like that.  We had a package of commands for
processing search that would be in charge of taking the query and use it
to build the custom filters and sorts for the catalog data.

Hope this helps,
G.

-- 
gabriel montagné láscaris comneno
http://rojored.com
t/506.8392.2040


Re: [flexcoders] Cairngorm and Service Locators

2008-04-01 Thread Jon Bradley


On Apr 1, 2008, at 9:37 AM, Nicholas Watson wrote:


Within my ServiceLocator.mxml file, I have a listing of HTTPServices.
Each one of them has the URL hard coded in to the file. I would like
to make this a configurable setting, depending on which environment
the app is running off of (dev, testing, production). What is the best
way to accomplish this?



It depends on how modular you want it to be or how you want to  
configure it.


myService = ServiceLocator.getInstance().getService( loginService );
myService.url = pathToYourService;

I dynamically modified service details in some of my delegates this  
way to do exactly as you mentioned (dev,test,prod servers).


good luck,

jon



RE: [flexcoders] Cairngorm for Flex 3

2008-03-27 Thread Merrill, Jason
Cairngorm is just an AS3 framework, I don't think there is anything in there 
specific for Flex 2 or 3, or even Flex for that matter.  The current version 
should work fine.  Someone correct me if I am wrong... 
 

Jason Merrill 
Bank of America 
GTO and Risk LLD Solutions Design  Development 
eTools  Multimedia 

Bank of America Flash Platform Developer Community 


Are you a Bank of America associate interested in innovative learning ideas and 
technologies?
Check out our internal  GTO Innovative Learning Blog 
http://sharepoint.bankofamerica.com/sites/ddc/rd/blog/default.aspx   
subscribe 
http://sharepoint.bankofamerica.com/sites/ddc/rd/blog/_layouts/SubNew.aspx?List=%7B41BD3FC9%2DBB07%2D4763%2DB3AB%2DA6C7C99C5B8D%7DSource=http%3A%2F%2Fsharepoint%2Ebankofamerica%2Ecom%2Fsites%2Fddc%2Frd%2Fblog%2FLists%2FPosts%2FArchive%2Easpx
 . 




 




From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
Leonardo Moreno
Sent: Thursday, March 27, 2008 3:06 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cairngorm for Flex 3



Hi

I want to use Cairngorm for a project we are going to start but in this 
site: http://labs.adobe.com/wiki/index.php/Cairngorm 
http://labs.adobe.com/wiki/index.php/Cairngorm  I only see versions 
for Flex 2.

I'd like to know if there is a new version for Flex 3 coming soon or 
what's going to happen with Cairngorm.

Regards
-- 
Leonardo Moreno Guzmán
Ingeniero de sistemas y telemática | Asesor soluciones informáticas
*cell-phone:* 311-3390386
*e-mail:* [EMAIL PROTECTED] mailto:leonardo.moreno%40gmail.com 
*site:* http://leo.logtar.com/profesional/ 
http://leo.logtar.com/profesional/ 



 



Re: [flexcoders] Cairngorm for Flex 3

2008-03-27 Thread Leonardo Moreno
Sorry, I asked because in the Cairngorm site says 2.2.1 Cairngorm 2.2.1 
for Flex 2 
http://labs.adobe.com/wiki/index.php/Cairngorm#Cairngorm_2.2.1_for_Flex_2.
That maked me think that had something specific for flex 2

Thanks


Merrill, Jason wrote:

 Cairngorm is just an AS3 framework, I don't think there is anything in 
 there specific for Flex 2 or 3, or even Flex for that matter.  The 
 current version should work fine.  Someone correct me if I am wrong...
  

 Jason Merrill
 *Bank of America *
 GTO and Risk LLD Solutions Design  Development
 eTools  Multimedia

 *Bank of America Flash Platform Developer Community*


 /Are you a Bank of America associate interested in innovative learning 
 ideas and technologies?
 Check out our internal / _GTO Innovative Learning Blog_ 
 http://sharepoint.bankofamerica.com/sites/ddc/rd/blog/default.aspx  
 _subscribe_ 
 http://sharepoint.bankofamerica.com/sites/ddc/rd/blog/_layouts/SubNew.aspx?List=%7B41BD3FC9%2DBB07%2D4763%2DB3AB%2DA6C7C99C5B8D%7DSource=http%3A%2F%2Fsharepoint%2Ebankofamerica%2Ecom%2Fsites%2Fddc%2Frd%2Fblog%2FLists%2FPosts%2FArchive%2Easpx.
  





  

 
 *From:* flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED] *On Behalf Of *Leonardo Moreno
 *Sent:* Thursday, March 27, 2008 3:06 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] Cairngorm for Flex 3

 Hi

 I want to use Cairngorm for a project we are going to start but in
 this
 site: http://labs.adobe.com/wiki/index.php/Cairngorm
 http://labs.adobe.com/wiki/index.php/Cairngorm I only see versions
 for Flex 2.

 I'd like to know if there is a new version for Flex 3 coming soon or
 what's going to happen with Cairngorm.

 Regards
 -- 
 Leonardo Moreno Guzmán
 Ingeniero de sistemas y telemática | Asesor soluciones informáticas
 *cell-phone:* 311-3390386
 *e-mail:* [EMAIL PROTECTED]
 mailto:leonardo.moreno%40gmail.com
 *site:* http://leo.logtar.com/profesional/
 http://leo.logtar.com/profesional/

  

-- 
Leonardo Moreno Guzmán
Ingeniero de sistemas y telemática | Asesor soluciones informáticas
*cell-phone:*   311-3390386
*e-mail:*   [EMAIL PROTECTED]
*site:* http://leo.logtar.com/profesional/

begin:vcard
fn:Leonardo Moreno
n:Moreno;Leonardo
adr:;;;Cali;;;Colombia
email;internet:[EMAIL PROTECTED]
title;quoted-printable:Ingeniero de sistemas y telem=C3=A1tica
tel;cell:3113390386
x-mozilla-html:FALSE
url:http://leo.logtar.com
version:2.1
end:vcard



Re: [flexcoders] Cairngorm in flex 3.0

2008-02-29 Thread Sanjit Kumar

Dimitrios Gianninas wrote:


what error are u getting exactly?
 
*Dimitrios Gianninas*

*RIA Developer and Team Lead*
*Optimal Payments Inc.*
 



*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
*On Behalf Of *Sanjit Kumar

*Sent:* Wednesday, February 27, 2008 11:30 PM
*To:* flexcoder
*Subject:* [flexcoders] Cairngorm in flex 3.0

hi all

I want to use Cairngorm in flex 3.0 to develope a prototype which using
Cairngorm 2.2.1 swc file But It is giving error. It does not showing
GUI. please help me how can I use the Cairngorm in flex 3.0
application. Or any body have Cairngorm swc for Flex 3.0

*AVIS IMPORTANT*



*WARNING*

Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés 
destinés au seul usage du destinataire visé. L'expéditeur original ne 
renonce à aucun privilège ou à aucun autre droit si le présent message 
a été transmis involontairement ou s'il est retransmis sans son 
autorisation. Si vous n'êtes pas le destinataire visé du présent 
message ou si vous l'avez reçu par erreur, veuillez cesser 
immédiatement de le lire et le supprimer, ainsi que toutes ses pièces 
jointes, de votre système. La lecture, la distribution, la copie ou 
tout autre usage du présent message ou de ses pièces jointes par des 
personnes autres que le destinataire visé ne sont pas autorisés et 
pourraient être illégaux. Si vous avez reçu ce courrier électronique 
par erreur, veuillez en aviser l'expéditeur.




This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the 
use of the intended recipient. No privilege or other rights are waived 
by any unintended transmission or unauthorized retransmission of this 
message. If you are not the intended recipient of this message, or if 
you have received it in error, you should immediately stop reading 
this message and delete it and all attachments from your system. The 
reading, distribution, copying or other use of this message or its 
attachments by unintended recipients is unauthorized and may be 
unlawful. If you have received this e-mail in error, please notify the 
sender.


 

thanx for reply!!!
feiy,Jim Hayes,Dimitrios Gianninas

earlier I have tried with flex 3 beta 2 version.
It compiled successfully. But it is not showing the application.
now  it working fine  with flex 3.0 finaaal version

agin thanx  for reply!!

Regards
Sanjit Kumar



Re: [flexcoders] Cairngorm - A good idea?

2008-01-07 Thread Tom Chiverton
On Monday 07 Jan 2008, Tim Ashworth wrote:
 I'm surprised as I thought Adobe was really pushing flex guys to use
 Cairngorm. 

Officially, Adobe does not support any one framework or other.

 Is there something I should know, or is this merely the opinion 
 of a coder who doesn't like Cairngorm particularly?

I would expect so.
Though you should be aware of pre-version-1 things like Model-Glue:Flex that 
may or may not be better than Cairngorm.

-- 
Tom Chiverton
Helping to ambassadorially morph viral data
on: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office. Any reference 
to a partner in relation to Halliwells LLP means a member of Halliwells LLP.  
Regulated by The Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


RE: [flexcoders] Cairngorm - A good idea?

2008-01-07 Thread Tim Ashworth
Cheers Tom,

I suppose the problem I've got is that once you've learnt a framework it is
sooo tempting to try and apply it to all and sundry.  I'll have a look at
Model Glue - Flex too.

t

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: 07 January 2008 11:01
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Cairngorm - A good idea?

On Monday 07 Jan 2008, Tim Ashworth wrote:
 I'm surprised as I thought Adobe was really pushing flex guys to use 
 Cairngorm.

Officially, Adobe does not support any one framework or other.

 Is there something I should know, or is this merely the opinion of a 
 coder who doesn't like Cairngorm particularly?

I would expect so.
Though you should be aware of pre-version-1 things like Model-Glue:Flex that
may or may not be better than Cairngorm.

--
Tom Chiverton
Helping to ambassadorially morph viral data
on: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and
Wales under registered number OC307980 whose registered office address is at
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A
list of members is available for inspection at the registered office. Any
reference to a partner in relation to Halliwells LLP means a member of
Halliwells LLP.  Regulated by The Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may
be confidential or legally privileged.  If you are not the addressee you
must not read it and must not use any information contained in nor copy it
nor inform any person other than Halliwells LLP or the addressee of its
existence or contents.  If you have received this email in error please
delete it and notify Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links






Re: [flexcoders] Cairngorm + RemoteObject + Java + BlazeDS.

2007-12-18 Thread Manu Dhanda

Hii Tom,

It's my delegate code snippet:
public function LoginDelegate( responder : IResponder )
{
this.service = ServiceLocator.getInstance().getRemoteObject( 
loginService
);
trace(In LoginDelegate line 12 +this.service.toString() );
this.responder = responder;
}

public function isValidLogin( loginVO : LoginVO ): void
{
trace(In LoginDelegate line 18 +loginVO.coreId );
var call : Object = service.isValidLogin(loginVO);
trace(In LoginDelegate line 20 +call.toString() );
call.addResponder( responder );
}

Any further guidance will help.
Thanks,
Manu.


Tom Chiverton-2 wrote:
 
 On Monday 17 Dec 2007, Manu Dhanda wrote:
 Using Cairngorm, do we anywhere need to define something like that:
 
 You'll have that call in your Delegate class. I didn't see that in the 
 snippits of code you gave.
 
 -- 
 Tom Chiverton
 Helping to enormously harvest second-generation customers
 on: http://thefalken.livejournal.com
 
 
 
 This email is sent for and on behalf of Halliwells LLP.
 
 Halliwells LLP is a limited liability partnership registered in England
 and Wales under registered number OC307980 whose registered office address
 is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3
 3EB.  A list of members is available for inspection at the registered
 office. Any reference to a partner in relation to Halliwells LLP means a
 member of Halliwells LLP.  Regulated by The Solicitors Regulation
 Authority.
 
 CONFIDENTIALITY
 
 This email is intended only for the use of the addressee named above and
 may be confidential or legally privileged.  If you are not the addressee
 you must not read it and must not use any information contained in nor
 copy it nor inform any person other than Halliwells LLP or the addressee
 of its existence or contents.  If you have received this email in error
 please delete it and notify Halliwells LLP IT Department on 0870 365 2500.
 
 For more information about Halliwells LLP visit www.halliwells.com.
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Cairngorm-%2B-RemoteObject-%2B-Java-without-FDS%28LCDS%29.-tp14291250p14393062.html
Sent from the FlexCoders mailing list archive at Nabble.com.



RE: [flexcoders] Cairngorm + RemoteObject + Java + blazeds.

2007-12-17 Thread Manu Dhanda

Hii,
It's really giving me hard time now.
Now, am using blazeds. Have everything in place. My app is compiling fine.
But still control is not reaching to my java code.

I have destination defined like this in my remoting-config.xml:
destination id=loginServiceImpl
properties
sourcecom.mot.stir.business.LoginDelegate/source
/properties
/destination

I have this in my Services.mxml:
mx:RemoteObject id=loginService destination=loginServiceImpl
/mx:RemoteObject

In my command file, I have this:
public function execute( event : CairngormEvent ): void
{
var delegate : LoginDelegate = new LoginDelegate( this );   
var loginEvent : ClickLoginEvent = ClickLoginEvent( event );  
delegate.isValidLogin( loginEvent.loginVO );
trace(In ClickLoginCommand line 28 +loginEvent.loginVO.coreId );
}

I can see it reaching to this trace statement.

I had initialized ServiceLocator in my main mxml.
!-- the ServiceLocator where we specify the remote services --
business:Services id=services /

then where am I doing wrong, I could not understand???


Using Cairngorm, do we anywhere need to define something like that:
mx:RemoteObject id=issueTDServiceImpl destination=loginServiceImpl 
mx:method name=validateLogin result=getLoginHandler(event)/
/mx:RemoteObject

Specifically mx:method ... tag.


Any guidance will be great on this topic.
Thanks.
Manu.



Dimitrios Gianninas wrote:
 
 The answer is YES and I gave the other possibilities. If you are asking
 can I call Java classes from Flex without a some server component, then
 the answer is NO.
 You have to have something on the server-side to listen for the message
 coming over the wire and do the translation for you.
  
 Dimitrios Gianninas
 RIA Developer and Team Lead
 Optimal Payments Inc.
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Manu Dhanda
 Sent: Wednesday, December 12, 2007 9:27 AM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Cairngorm + RemoteObject + Java without
 FDS(LCDS).
 
 
 
 
 Oh, I didn't completed my sentence properly.
 What I wanted to ask is Is that possible to use RemoteObject with Java in
 Flex using Cairngorm without using FDS?
 
 Sorry for my incomplete post last time.
 
 Thanks.
 Manu.
 
 Dimitrios Gianninas wrote:
 
 yes it is, there are options:
 
 Granite Data Services:
 http://www.graniteds.org/confluence/pages/viewpage.action?pageId=229378
 http://www.graniteds.org/confluence/pages/viewpage.action?pageId=229378 
 Red5: http://osflash.org/red5 http://osflash.org/red5 
 
 Dimitrios Gianninas
 RIA Developer and Team Lead
 Optimal Payments Inc.
 
 
 
 
 From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
 [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 ] On
 Behalf Of Manu Dhanda
 Sent: Wednesday, December 12, 2007 3:57 AM
 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
 Subject: [flexcoders] Cairngorm + RemoteObject + Java without FDS(LCDS).
 
 
 
 
 Hii,
 
 Is that possible to use RemoteObject with Java in Flex using Cairngorm.
 As I tried to search for a working sample app. And with heaps of post
 around, none pointed me to the actual working example.
 
 So, before doing anything else, I am stuck with this question itself that
 whether it is possible to use RemoteObjects with Java in Flex??
 
 Any help is appreciated.
 
 Thanks.
 Manu.
 -- 
 View this message in context:
 http://www.nabble.com/Cairngorm-%2B-RemoteObject-%2B-Java-without-FDS%28LCDS%29.-tp14291250p14291250.html
 http://www.nabble.com/Cairngorm-%2B-RemoteObject-%2B-Java-without-FDS%28LCDS%29.-tp14291250p14291250.html
  
 http://www.nabble.com/Cairngorm-%2B-RemoteObject-%2B-Java-without-FDS%28LCDS%29.-tp14291250p14291250.html
 http://www.nabble.com/Cairngorm-%2B-RemoteObject-%2B-Java-without-FDS%28LCDS%29.-tp14291250p14291250.html
  
 Sent from the FlexCoders mailing list archive at Nabble.com.
 
 
 
 
 
 -- 
 WARNING
 ---
 This electronic message and its attachments may contain confidential,
 proprietary or legally privileged information, which is solely for the
 use
 of the intended recipient. No privilege or other rights are waived by any
 unintended transmission or unauthorized retransmission of this message. 
 If you are not the intended recipient of this message, or if you have
 received it in error, you should immediately stop reading this message
 and
 delete it and all attachments from your system. The reading,
 distribution, copying or other use of this message or its attachments by
 unintended recipients is unauthorized and may be unlawful. If you have
 received this e-mail in error, please notify the sender.
 
 AVIS IMPORTANT
 --
 Ce message électronique et ses pièces jointes peuvent contenir des
 renseignements confidentiels, exclusifs ou légalement privilégiés
 destinés
 au seul usage du destinataire visé. L'expéditeur

RE: [flexcoders] Cairngorm + RemoteObject + Java + BlazeDS.

2007-12-17 Thread Manu Dhanda

Hii..
It's really giving me hard time now.
Now, am using blazeds. Have everything in place. My app is compiling fine.
But still control is not reaching to my java code.

I have destination defined like this in my remoting-config.xml:
destination id=loginServiceImpl
properties
sourcecom.mot.stir.business.LoginDelegate/source
/properties
/destination

I have this in my Services.mxml:
mx:RemoteObject id=loginService destination=loginServiceImpl
/mx:RemoteObject

In my command file, I have this:
public function execute( event : CairngormEvent ): void
{
var delegate : LoginDelegate = new LoginDelegate( this );  
var loginEvent : ClickLoginEvent = ClickLoginEvent( event );  
delegate.isValidLogin( loginEvent.loginVO );
trace(In ClickLoginCommand line 28 +loginEvent.loginVO.coreId );
}

I can see it reaching to this trace statement.

I had initialized ServiceLocator in my main mxml.
!-- the ServiceLocator where we specify the remote services --
business:Services id=services /

then where am I doing wrong, I could not understand???


Using Cairngorm, do we anywhere need to define something like that:
mx:RemoteObject id=issueTDServiceImpl destination=loginServiceImpl 
mx:method name=validateLogin result=getLoginHandler(event)/
/mx:RemoteObject

Specifically mx:method ... tag.


Any guidance will be great on this topic.
Thanks.
Manu. 


Dimitrios Gianninas wrote:
 
 The answer is YES and I gave the other possibilities. If you are asking
 can I call Java classes from Flex without a some server component, then
 the answer is NO.
 You have to have something on the server-side to listen for the message
 coming over the wire and do the translation for you.
  
 Dimitrios Gianninas
 RIA Developer and Team Lead
 Optimal Payments Inc.
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Manu Dhanda
 Sent: Wednesday, December 12, 2007 9:27 AM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Cairngorm + RemoteObject + Java without
 FDS(LCDS).
 
 
 
 
 Oh, I didn't completed my sentence properly.
 What I wanted to ask is Is that possible to use RemoteObject with Java in
 Flex using Cairngorm without using FDS?
 
 Sorry for my incomplete post last time.
 
 Thanks.
 Manu.
 
 Dimitrios Gianninas wrote:
 
 yes it is, there are options:
 
 Granite Data Services:
 http://www.graniteds.org/confluence/pages/viewpage.action?pageId=229378
 http://www.graniteds.org/confluence/pages/viewpage.action?pageId=229378 
 Red5: http://osflash.org/red5 http://osflash.org/red5 
 
 Dimitrios Gianninas
 RIA Developer and Team Lead
 Optimal Payments Inc.
 
 
 
 
 From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
 [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 ] On
 Behalf Of Manu Dhanda
 Sent: Wednesday, December 12, 2007 3:57 AM
 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
 Subject: [flexcoders] Cairngorm + RemoteObject + Java without FDS(LCDS).
 
 
 
 
 Hii,
 
 Is that possible to use RemoteObject with Java in Flex using Cairngorm.
 As I tried to search for a working sample app. And with heaps of post
 around, none pointed me to the actual working example.
 
 So, before doing anything else, I am stuck with this question itself that
 whether it is possible to use RemoteObjects with Java in Flex??
 
 Any help is appreciated.
 
 Thanks.
 Manu.
 -- 
 View this message in context:
 http://www.nabble.com/Cairngorm-%2B-RemoteObject-%2B-Java-without-FDS%28LCDS%29.-tp14291250p14291250.html
 http://www.nabble.com/Cairngorm-%2B-RemoteObject-%2B-Java-without-FDS%28LCDS%29.-tp14291250p14291250.html
  
 http://www.nabble.com/Cairngorm-%2B-RemoteObject-%2B-Java-without-FDS%28LCDS%29.-tp14291250p14291250.html
 http://www.nabble.com/Cairngorm-%2B-RemoteObject-%2B-Java-without-FDS%28LCDS%29.-tp14291250p14291250.html
  
 Sent from the FlexCoders mailing list archive at Nabble.com.
 
 
 
 
 
 -- 
 WARNING
 ---
 This electronic message and its attachments may contain confidential,
 proprietary or legally privileged information, which is solely for the
 use
 of the intended recipient. No privilege or other rights are waived by any
 unintended transmission or unauthorized retransmission of this message. 
 If you are not the intended recipient of this message, or if you have
 received it in error, you should immediately stop reading this message
 and
 delete it and all attachments from your system. The reading,
 distribution, copying or other use of this message or its attachments by
 unintended recipients is unauthorized and may be unlawful. If you have
 received this e-mail in error, please notify the sender.
 
 AVIS IMPORTANT
 --
 Ce message électronique et ses pièces jointes peuvent contenir des
 renseignements confidentiels, exclusifs ou légalement privilégiés
 destinés
 au seul usage du destinataire visé. L'expéditeur

Re: [flexcoders] Cairngorm + RemoteObject + Java + BlazeDS.

2007-12-17 Thread Ralf Bokelberg
Hi Manu

It seems like you are trying to take two steps at once.
Before working with Cairngorm i would try to create a very simple
Remoting example.
I'm sure you can find one in the help files.

Cheers
Ralf

On Dec 17, 2007 12:35 PM, Manu Dhanda [EMAIL PROTECTED] wrote:







  Hii..
  It's really giving me hard time now.
  Now, am using blazeds. Have everything in place. My app is compiling fine.
  But still control is not reaching to my java code.

  I have destination defined like this in my remoting-config.xml:
  destination id=loginServiceImpl
  properties
  sourcecom.mot.stir.business.LoginDelegate/source
  /properties
  /destination

  I have this in my Services.mxml:
  mx:RemoteObject id=loginService destination=loginServiceImpl
  /mx:RemoteObject

  In my command file, I have this:
  public function execute( event : CairngormEvent ): void
  {
  var delegate : LoginDelegate = new LoginDelegate( this );
  var loginEvent : ClickLoginEvent = ClickLoginEvent( event );
  delegate.isValidLogin( loginEvent.loginVO );
  trace(In ClickLoginCommand line 28 +loginEvent.loginVO.coreId );
  }

  I can see it reaching to this trace statement.

  I had initialized ServiceLocator in my main mxml.
  !-- the ServiceLocator where we specify the remote services --
  business:Services id=services /

  then where am I doing wrong, I could not understand???

  Using Cairngorm, do we anywhere need to define something like that:
  mx:RemoteObject id=issueTDServiceImpl destination=loginServiceImpl 
  mx:method name=validateLogin result=getLoginHandler(event)/
  /mx:RemoteObject

  Specifically mx:method ... tag.

  Any guidance will be great on this topic.
  Thanks.
  Manu.

  Dimitrios Gianninas wrote:
  
   The answer is YES and I gave the other possibilities. If you are asking
   can I call Java classes from Flex without a some server component, then
   the answer is NO.
   You have to have something on the server-side to listen for the message
   coming over the wire and do the translation for you.
  
   Dimitrios Gianninas
   RIA Developer and Team Lead
   Optimal Payments Inc.
  
  
   
  
   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
   Behalf Of Manu Dhanda
   Sent: Wednesday, December 12, 2007 9:27 AM
   To: flexcoders@yahoogroups.com
   Subject: RE: [flexcoders] Cairngorm + RemoteObject + Java without
   FDS(LCDS).
  
  
  
  
   Oh, I didn't completed my sentence properly.
   What I wanted to ask is Is that possible to use RemoteObject with Java
 in
   Flex using Cairngorm without using FDS?
  
   Sorry for my incomplete post last time.
  
   Thanks.
   Manu.
  
   Dimitrios Gianninas wrote:
  
   yes it is, there are options:
  
   Granite Data Services:
   http://www.graniteds.org/confluence/pages/viewpage.action?pageId=229378
  
 http://www.graniteds.org/confluence/pages/viewpage.action?pageId=229378
   Red5: http://osflash.org/red5 http://osflash.org/red5
  
   Dimitrios Gianninas
   RIA Developer and Team Lead
   Optimal Payments Inc.
  
  
   
  
   From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
   [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
   ] On
   Behalf Of Manu Dhanda
   Sent: Wednesday, December 12, 2007 3:57 AM
   To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
   Subject: [flexcoders] Cairngorm + RemoteObject + Java without FDS(LCDS).
  
  
  
  
   Hii,
  
   Is that possible to use RemoteObject with Java in Flex using Cairngorm.
   As I tried to search for a working sample app. And with heaps of post
   around, none pointed me to the actual working example.
  
   So, before doing anything else, I am stuck with this question itself
 that
   whether it is possible to use RemoteObjects with Java in Flex??
  
   Any help is appreciated.
  
   Thanks.
   Manu.
   --
   View this message in context:
  
 http://www.nabble.com/Cairngorm-%2B-RemoteObject-%2B-Java-without-FDS%28LCDS%29.-tp14291250p14291250.html
  
 http://www.nabble.com/Cairngorm-%2B-RemoteObject-%2B-Java-without-FDS%28LCDS%29.-tp14291250p14291250.html
  
 http://www.nabble.com/Cairngorm-%2B-RemoteObject-%2B-Java-without-FDS%28LCDS%29.-tp14291250p14291250.html
  
 http://www.nabble.com/Cairngorm-%2B-RemoteObject-%2B-Java-without-FDS%28LCDS%29.-tp14291250p14291250.html
   
   Sent from the FlexCoders mailing list archive at Nabble.com.
  
  
  
  
  
   --
   WARNING
   ---
   This electronic message and its attachments may contain confidential,
   proprietary or legally privileged information, which is solely for the
   use
   of the intended recipient. No privilege or other rights are waived by
 any
   unintended transmission or unauthorized retransmission of this message.
   If you are not the intended recipient of this message, or if you have
   received it in error, you should immediately stop reading this message
   and
   delete it and all attachments from your system

Re: [flexcoders] Cairngorm + RemoteObject + Java + BlazeDS.

2007-12-17 Thread Tom Chiverton
On Monday 17 Dec 2007, Manu Dhanda wrote:
 Using Cairngorm, do we anywhere need to define something like that:

You'll have that call in your Delegate class. I didn't see that in the 
snippits of code you gave.

-- 
Tom Chiverton
Helping to enormously harvest second-generation customers
on: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office. Any reference 
to a partner in relation to Halliwells LLP means a member of Halliwells LLP.  
Regulated by The Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


RE: [flexcoders] Cairngorm architecture question

2007-12-14 Thread Dimitrios Gianninas
The Flex framework will create the view cause you are gonna create your various 
views as MXML component and then bind some model data to them. In your case it 
seems like you want to create views on the fly, so when u create them you will 
have to code your binding statement manually in some command.
 
Dimitrios Gianninas
RIA Developer and Team Lead
Optimal Payments Inc.
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jamie S
Sent: Friday, December 14, 2007 1:42 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cairngorm architecture question



I've started using Cairngorm for a project and I'm trying to stick
closely with the design philosophy but I'm running into problems.

Here's the situation... My application has to instansiate one of a
number of view classes based on an xml config file. But within the
context of Cairngorm I don't see a good way to dynamically create
views. Right now I'm using the ViewLocator class to refer to a generic
container and having a command create a new view instance as a child
of the container but this seems kludgey and not really in the spirit
of the framework.

The only other thing I can think of is to make my generic container a
little smarter and have it bind to a config data model, creating a
child view once the config data model is populated. But that doesn't
seem quite right to me either.

I guess the main problem is that under Cairngorm, it seems pretty
logical that the Controller/Commands can create and manipulate models,
but what should create views?

Jamie


 

-- 
WARNING
---
This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the use of 
the intended recipient.  No privilege or other rights are waived by any 
unintended transmission or unauthorized retransmission of this message.  If you 
are not the intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete it and all 
attachments from your system.  The reading, distribution, copying or other use 
of this message or its attachments by unintended recipients is unauthorized and 
may be unlawful.  If you have received this e-mail in error, please notify the 
sender.

AVIS IMPORTANT
--
Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés destinés au 
seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun 
privilège ou à aucun autre droit si le présent message a été transmis 
involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes 
pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, 
veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système.  La lecture, la distribution, la copie ou 
tout autre usage du présent message ou de ses pièces jointes par des personnes 
autres que le destinataire visé ne sont pas autorisés et pourraient être 
illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en 
aviser l'expéditeur.



RE: [flexcoders] Cairngorm event types

2007-12-13 Thread Dimitrios Gianninas
I define the event constants in the event class itself, and saves on an import.
 
Dimitrios Gianninas
RIA Developer and Team Lead
Optimal Payments Inc.
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nils 
Millahn
Sent: Thursday, December 13, 2007 8:22 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cairngorm event types



Hi everybody,

I've started using Cairngorm on a couple of projects and wondered where 
people generally define their event type identifiers.

The FrontController/EventDispatcher setup requires unique event names 
across the application, which is hard to control on large projects with 
multiple developers (or when further development is done at a later stage).

So I'm thinking that it would be easier to define event names as 'static 
const' in a single class 'CairngormEventNames, which in turn could be 
used in the specific event classes. A bit cumbersome but easier than 
going through each event class and checking that event names don't overlap.

What is everybody else doing in this respect?

cheers - Nils.



 

-- 
WARNING
---
This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the use of 
the intended recipient.  No privilege or other rights are waived by any 
unintended transmission or unauthorized retransmission of this message.  If you 
are not the intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete it and all 
attachments from your system.  The reading, distribution, copying or other use 
of this message or its attachments by unintended recipients is unauthorized and 
may be unlawful.  If you have received this e-mail in error, please notify the 
sender.

AVIS IMPORTANT
--
Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés destinés au 
seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun 
privilège ou à aucun autre droit si le présent message a été transmis 
involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes 
pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, 
veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système.  La lecture, la distribution, la copie ou 
tout autre usage du présent message ou de ses pièces jointes par des personnes 
autres que le destinataire visé ne sont pas autorisés et pourraient être 
illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en 
aviser l'expéditeur.



Re: [flexcoders] Cairngorm event types

2007-12-13 Thread Ralf Bokelberg
You can use full qualified event names to avoid name clashes, eg.

package de.bokelberg.bigproject.myview
{
  class UpdateEvent extends Event
  {
 public static const EVENT_ID : String =
de.bokelberg.bigproject.myview.Update;
 //...
  }
}

Cheers
Ralf.

On Dec 13, 2007 2:22 PM, Nils Millahn [EMAIL PROTECTED] wrote:






 Hi everybody,

  I've started using Cairngorm on a couple of projects and wondered where
  people generally define their event type identifiers.

  The FrontController/EventDispatcher setup requires unique event names
  across the application, which is hard to control on large projects with
  multiple developers (or when further development is done at a later stage).

  So I'm thinking that it would be easier to define event names as 'static
  const' in a single class 'CairngormEventNames, which in turn could be
  used in the specific event classes. A bit cumbersome but easier than
  going through each event class and checking that event names don't overlap.

  What is everybody else doing in this respect?

  cheers - Nils.

  


Re: [flexcoders] Cairngorm event types

2007-12-13 Thread Nils Millahn
Hi Ralf,

nice idea, thanks!

- Nils.

Ralf Bokelberg wrote:
 You can use full qualified event names to avoid name clashes, eg.

 package de.bokelberg.bigproject.myview
 {
   class UpdateEvent extends Event
   {
  public static const EVENT_ID : String =
 de.bokelberg.bigproject.myview.Update;
  //...
   }
 }

 Cheers
 Ralf.

 On Dec 13, 2007 2:22 PM, Nils Millahn [EMAIL PROTECTED] wrote:
   




 Hi everybody,

  I've started using Cairngorm on a couple of projects and wondered where
  people generally define their event type identifiers.

  The FrontController/EventDispatcher setup requires unique event names
  across the application, which is hard to control on large projects with
  multiple developers (or when further development is done at a later stage).

  So I'm thinking that it would be easier to define event names as 'static
  const' in a single class 'CairngormEventNames, which in turn could be
  used in the specific event classes. A bit cumbersome but easier than
  going through each event class and checking that event names don't overlap.

  What is everybody else doing in this respect?

  cheers - Nils.

  
 


 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links





   



RE: [flexcoders] Cairngorm ServiceLocator Issue

2007-12-12 Thread Dimitrios Gianninas
ok do you have a log inside your java method, I assume u do, make sure it is 
the first line of code fo the method.
 
make sure the method names in Flex and Java match in case. I dont know what 
server u are running, but check your server's log, maybe there is an exception 
in there.
 
Dimitrios Gianninas
RIA Developer and Team Lead
Optimal Payments Inc.
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manu 
Dhanda
Sent: Tuesday, December 11, 2007 11:44 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Cairngorm ServiceLocator Issue




Yes, server-side logging is set to Debug.
I tried to put the Alert statement after my delegate.methodCall() and it is
reaching there.

I am not getting any errors anywhere, that is why I am confused like where
to look to sort out this issue.

Thanks.

Dimitrios Gianninas wrote:
 
 Hi,
 
 Things you can check are:
 
 a) did u set the server-side logging to Debug in the services-config.xml
 file?
 b) is your command actually being called? add a trace statement in there
 to see if it, common problem is you forget to add an entry in the
 controller
 
 are u getting any sort of error anywhere?
 
 Dimitrios Gianninas
 Optimal Payments Inc.
 
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com  on 
 behalf of Manu Dhanda
 Sent: Tue 11/12/2007 11:23 PM
 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
 Subject: [flexcoders] Cairngorm ServiceLocator Issue
 
 
 Hii..
 
 Am wondering why I can not connect back to Java.
 Am using RemoteObject, have Services.mxml in place with the RemoteObject's
 defined in that.
 I have configured remoting-config.xml accordingly.
 I had initialized ServiceLocator in my application file.
 
 But when I generate an event on client side(clicking a button), I supposed
 to see console output from java.
 
 But, nothing happens with that. No compile time errors in code.
 
 Can anyone guide me please.
 
 Thanks.
 Manu.
 
 
 -- 
 View this message in context:
 http://www.nabble.com/Cairngorm-ServiceLocator-Issue-tp14288802p14288802.html 
 http://www.nabble.com/Cairngorm-ServiceLocator-Issue-tp14288802p14288802.html
  
 Sent from the FlexCoders mailing list archive at Nabble.com.
 
 
 -- 
 WARNING
 ---
 This electronic message and its attachments may contain confidential,
 proprietary or legally privileged information, which is solely for the use
 of the intended recipient. No privilege or other rights are waived by any
 unintended transmission or unauthorized retransmission of this message. 
 If you are not the intended recipient of this message, or if you have
 received it in error, you should immediately stop reading this message and
 delete it and all attachments from your system. The reading,
 distribution, copying or other use of this message or its attachments by
 unintended recipients is unauthorized and may be unlawful. If you have
 received this e-mail in error, please notify the sender.
 
 AVIS IMPORTANT
 --
 Ce message électronique et ses pièces jointes peuvent contenir des
 renseignements confidentiels, exclusifs ou légalement privilégiés destinés
 au seul usage du destinataire visé. L'expéditeur original ne renonce à
 aucun privilège ou à aucun autre droit si le présent message a été
 transmis involontairement ou s'il est retransmis sans son autorisation. 
 Si vous n'êtes pas le destinataire visé du présent message ou si vous
 l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le
 supprimer, ainsi que toutes ses pièces jointes, de votre système. La
 lecture, la distribution, la copie ou tout autre usage du présent message
 ou de ses pièces jointes par des personnes autres que le destinataire visé
 ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce
 courrier électronique par erreur, veuillez en aviser l'expéditeur.
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Cairngorm-ServiceLocator-Issue-tp14288802p14288983.html 
http://www.nabble.com/Cairngorm-ServiceLocator-Issue-tp14288802p14288983.html 
Sent from the FlexCoders mailing list archive at Nabble.com.



 


RE: [flexcoders] Cairngorm + RemoteObject + Java without FDS(LCDS).

2007-12-12 Thread Dimitrios Gianninas
yes it is, there are options:
 
Granite Data Services: 
http://www.graniteds.org/confluence/pages/viewpage.action?pageId=229378
Red5: http://osflash.org/red5
 
Dimitrios Gianninas
RIA Developer and Team Lead
Optimal Payments Inc.
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manu 
Dhanda
Sent: Wednesday, December 12, 2007 3:57 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cairngorm + RemoteObject + Java without FDS(LCDS).




Hii,

Is that possible to use RemoteObject with Java in Flex using Cairngorm.
As I tried to search for a working sample app. And with heaps of post
around, none pointed me to the actual working example.

So, before doing anything else, I am stuck with this question itself that
whether it is possible to use RemoteObjects with Java in Flex??

Any help is appreciated.

Thanks.
Manu.
-- 
View this message in context: 
http://www.nabble.com/Cairngorm-%2B-RemoteObject-%2B-Java-without-FDS%28LCDS%29.-tp14291250p14291250.html
 
http://www.nabble.com/Cairngorm-%2B-RemoteObject-%2B-Java-without-FDS%28LCDS%29.-tp14291250p14291250.html
 
Sent from the FlexCoders mailing list archive at Nabble.com.



 

-- 
WARNING
---
This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the use of 
the intended recipient.  No privilege or other rights are waived by any 
unintended transmission or unauthorized retransmission of this message.  If you 
are not the intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete it and all 
attachments from your system.  The reading, distribution, copying or other use 
of this message or its attachments by unintended recipients is unauthorized and 
may be unlawful.  If you have received this e-mail in error, please notify the 
sender.

AVIS IMPORTANT
--
Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés destinés au 
seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun 
privilège ou à aucun autre droit si le présent message a été transmis 
involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes 
pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, 
veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système.  La lecture, la distribution, la copie ou 
tout autre usage du présent message ou de ses pièces jointes par des personnes 
autres que le destinataire visé ne sont pas autorisés et pourraient être 
illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en 
aviser l'expéditeur.



RE: [flexcoders] Cairngorm + RemoteObject + Java without FDS(LCDS).

2007-12-12 Thread Dimitrios Gianninas
The answer is YES and I gave the other possibilities. If you are asking can I 
call Java classes from Flex without a some server component, then the answer is 
NO.
You have to have something on the server-side to listen for the message coming 
over the wire and do the translation for you.
 
Dimitrios Gianninas
RIA Developer and Team Lead
Optimal Payments Inc.
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manu 
Dhanda
Sent: Wednesday, December 12, 2007 9:27 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Cairngorm + RemoteObject + Java without FDS(LCDS).




Oh, I didn't completed my sentence properly.
What I wanted to ask is Is that possible to use RemoteObject with Java in
Flex using Cairngorm without using FDS?

Sorry for my incomplete post last time.

Thanks.
Manu.

Dimitrios Gianninas wrote:
 
 yes it is, there are options:
 
 Granite Data Services:
 http://www.graniteds.org/confluence/pages/viewpage.action?pageId=229378 
 http://www.graniteds.org/confluence/pages/viewpage.action?pageId=229378 
 Red5: http://osflash.org/red5 http://osflash.org/red5 
 
 Dimitrios Gianninas
 RIA Developer and Team Lead
 Optimal Payments Inc.
 
 
 
 
 From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com  
 [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On
 Behalf Of Manu Dhanda
 Sent: Wednesday, December 12, 2007 3:57 AM
 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
 Subject: [flexcoders] Cairngorm + RemoteObject + Java without FDS(LCDS).
 
 
 
 
 Hii,
 
 Is that possible to use RemoteObject with Java in Flex using Cairngorm.
 As I tried to search for a working sample app. And with heaps of post
 around, none pointed me to the actual working example.
 
 So, before doing anything else, I am stuck with this question itself that
 whether it is possible to use RemoteObjects with Java in Flex??
 
 Any help is appreciated.
 
 Thanks.
 Manu.
 -- 
 View this message in context:
 http://www.nabble.com/Cairngorm-%2B-RemoteObject-%2B-Java-without-FDS%28LCDS%29.-tp14291250p14291250.html
  
 http://www.nabble.com/Cairngorm-%2B-RemoteObject-%2B-Java-without-FDS%28LCDS%29.-tp14291250p14291250.html
  
 http://www.nabble.com/Cairngorm-%2B-RemoteObject-%2B-Java-without-FDS%28LCDS%29.-tp14291250p14291250.html
  
 http://www.nabble.com/Cairngorm-%2B-RemoteObject-%2B-Java-without-FDS%28LCDS%29.-tp14291250p14291250.html
   
 Sent from the FlexCoders mailing list archive at Nabble.com.
 
 
 
 
 
 -- 
 WARNING
 ---
 This electronic message and its attachments may contain confidential,
 proprietary or legally privileged information, which is solely for the use
 of the intended recipient. No privilege or other rights are waived by any
 unintended transmission or unauthorized retransmission of this message. 
 If you are not the intended recipient of this message, or if you have
 received it in error, you should immediately stop reading this message and
 delete it and all attachments from your system. The reading,
 distribution, copying or other use of this message or its attachments by
 unintended recipients is unauthorized and may be unlawful. If you have
 received this e-mail in error, please notify the sender.
 
 AVIS IMPORTANT
 --
 Ce message électronique et ses pièces jointes peuvent contenir des
 renseignements confidentiels, exclusifs ou légalement privilégiés destinés
 au seul usage du destinataire visé. L'expéditeur original ne renonce à
 aucun privilège ou à aucun autre droit si le présent message a été
 transmis involontairement ou s'il est retransmis sans son autorisation. 
 Si vous n'êtes pas le destinataire visé du présent message ou si vous
 l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le
 supprimer, ainsi que toutes ses pièces jointes, de votre système. La
 lecture, la distribution, la copie ou tout autre usage du présent message
 ou de ses pièces jointes par des personnes autres que le destinataire visé
 ne sont pas autorisés et pourraient être illégaux. Si vous avez reçu ce
 courrier électronique par erreur, veuillez en aviser l'expéditeur.
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Cairngorm-%2B-RemoteObject-%2B-Java-without-FDS%28LCDS%29.-tp14291250p14296042.html
 
http://www.nabble.com/Cairngorm-%2B-RemoteObject-%2B-Java-without-FDS%28LCDS%29.-tp14291250p14296042.html
 
Sent from the FlexCoders mailing list archive at Nabble.com.



 


Re: [flexcoders] Cairngorm Issue

2007-12-11 Thread Manu Dhanda

Anyone with some comments on this issue??

Thanks.
Manu.


Manu Dhanda wrote:
 
 Yes, as I said, with the click of the link button, other form load(from
 loginForm to registerForm). But, the fields on the form are not displaying
 in a right manner. Only the textfields are being displayed, and labels in
 front of those textfields disappered.
 
 Thanks.
 Manu.
 
 mydarkspoon wrote:
 
 I can't notice anything wrong with the code...
 Did you check the workflowState actually changes ?
 
 --- In flexcoders@yahoogroups.com, Manu Dhanda [EMAIL PROTECTED]
 wrote:

 
 Code for ValidatePanel.mxml :
 ?xml version=1.0 encoding=utf-8?
 mx:Panel 
 xmlns:mx=http://www.adobe.com/2006/mxml;
 xmlns:loginview=com.mot.stir.view.loginview.*
 title=Login 
 horizontalAlign=center 
 verticalAlign=middle 
 
 mx:Script
 ![CDATA[  
 import mx.core.Container;
 import com.adobe.cairngorm.control.CairngormEventDispatcher;
 import com.mot.stir.model.StirModelLocator;
 import com.mot.stir.event.ClickLoginEvent;   
 import com.mot.stir.vo.LoginVO;
 import com.mot.stir.vo.RegisterVO;
 
 [Bindable] public var model : StirModelLocator =
 StirModelLocator.getInstance();
 
 public function getView( workflowState : Number ) : Container
 {
 if( model.workflowState == 
 StirModelLocator.VIEWING_REGISTER_SCREEN )
 {
 this.title = Register;
 return registerForm;
 }
 else
 {
 this.title = Login;
 return loginForm;   
 }
 }
 ]]
 /mx:Script
 
mx:ViewStack id=validateView selectedChild={ getView(
 model.workflowState ) }
 loginview:LoginForm id=loginForm/
 loginview:RegisterForm id=registerForm/
 /mx:ViewStack
 loginview:LoginAndRegisterControlBar id=lnrControlBar/
 /mx:Panel
 
 Thanks.
 Manu.
 
 
 mydarkspoon wrote:
  
  Can you post the shole code for the component that hosts the view
 stack ?
  
  If you tested the model workflowState and it did changed I guess that
  the problem is with your model reference variable is not set to be
  bindable with the [Bindable] metadata tag (although the ModelLocater
  instance is set to be bindable, any reference to it must be bindable
  as well).
  If it's not the 2nd place I would check would be the getView()...
  
  Anyway, it would be much helpful to see your code.
  
  --- In flexcoders@yahoogroups.com, Manu Dhanda manuraj.dhanda@
 wrote:
 
  
  Hii..
  
  I am trying to learn how to use cairngorm. Now, I am creating
  Login/Register
  page. 
  The structure is like below:
  mx:Panel
 mx:ViewStack id=validateView selectedChild={ getView(
  model.workflowState ) }
  loginview:LoginForm id=loginForm/
  loginview:RegisterForm id=registerForm/
  /mx:ViewStack
  loginview:LoginAndRegisterControlBar id=lnrControlBar/
  /mx:Panel
  
  In the code, loginForm  registerForm are two forms. and below
 them is a
  controlbar( which controls which form need to be displayed via a link
  button.
  
  The issue is, initially, login form displayed fine. But, when I
  click the
  link button to display the registerForm, it only displays the
  'textfields'
  and none of the labels being displayed.
  
  First I thought, there might be an issue with registerForm code, but
  then I
  set the registerForm to be displayed as the application default  it
  displays fine and then same problem happen with login form(i.e. only
  text
  fields displyed with none labels in front of them.
  
  Any help to resolve this issue will be great.
  
  Thanks.
  -- 
  View this message in context:
  http://www.nabble.com/Cairngorm-Issue-tf4960151.html#a14206482
  Sent from the FlexCoders mailing list archive at Nabble.com.
 
  
  
  
  
 
 -- 
 View this message in context:
 http://www.nabble.com/Cairngorm-Issue-tf4960151.html#a14209723
 Sent from the FlexCoders mailing list archive at Nabble.com.

 
 
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Cairngorm-Issue-tp14206482p14288804.html
Sent from the FlexCoders mailing list archive at Nabble.com.



RE: [flexcoders] Cairngorm ServiceLocator Issue

2007-12-11 Thread Dimitrios Gianninas
Hi,

Things you can check are:

a) did u set the server-side logging to Debug in the services-config.xml file?
b) is your command actually being called? add a trace statement in there to see 
if it, common problem is you forget to add an entry in the controller

are u getting any sort of error anywhere?

Dimitrios Gianninas
Optimal Payments Inc.



-Original Message-
From: flexcoders@yahoogroups.com on behalf of Manu Dhanda
Sent: Tue 11/12/2007 11:23 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cairngorm ServiceLocator Issue
 

Hii..

Am wondering why I can not connect back to Java.
Am using RemoteObject, have Services.mxml in place with the RemoteObject's
defined in that.
I have configured remoting-config.xml accordingly.
I had initialized ServiceLocator in my application file.

But when I generate an event on client side(clicking a button), I supposed
to see console output from java.

But, nothing happens with that. No compile time errors in code.

Can anyone guide me please.

Thanks.
Manu.


-- 
View this message in context: 
http://www.nabble.com/Cairngorm-ServiceLocator-Issue-tp14288802p14288802.html
Sent from the FlexCoders mailing list archive at Nabble.com.


-- 
WARNING
---
This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the use of 
the intended recipient.  No privilege or other rights are waived by any 
unintended transmission or unauthorized retransmission of this message.  If you 
are not the intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete it and all 
attachments from your system.  The reading, distribution, copying or other use 
of this message or its attachments by unintended recipients is unauthorized and 
may be unlawful.  If you have received this e-mail in error, please notify the 
sender.

AVIS IMPORTANT
--
Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés destinés au 
seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun 
privilège ou à aucun autre droit si le présent message a été transmis 
involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes 
pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, 
veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système.  La lecture, la distribution, la copie ou 
tout autre usage du présent message ou de ses pièces jointes par des personnes 
autres que le destinataire visé ne sont pas autorisés et pourraient être 
illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en 
aviser l'expéditeur.

winmail.dat

RE: [flexcoders] Cairngorm ServiceLocator Issue

2007-12-11 Thread Manu Dhanda

Yes, server-side logging is set to Debug.
I tried to put the Alert statement after my delegate.methodCall() and it is
reaching there.

I am not getting any errors anywhere, that is why I am confused like where
to look to sort out this issue.

Thanks.


Dimitrios Gianninas wrote:
 
 Hi,
 
 Things you can check are:
 
 a) did u set the server-side logging to Debug in the services-config.xml
 file?
 b) is your command actually being called? add a trace statement in there
 to see if it, common problem is you forget to add an entry in the
 controller
 
 are u getting any sort of error anywhere?
 
 Dimitrios Gianninas
 Optimal Payments Inc.
 
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com on behalf of Manu Dhanda
 Sent: Tue 11/12/2007 11:23 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Cairngorm ServiceLocator Issue
  
 
 Hii..
 
 Am wondering why I can not connect back to Java.
 Am using RemoteObject, have Services.mxml in place with the RemoteObject's
 defined in that.
 I have configured remoting-config.xml accordingly.
 I had initialized ServiceLocator in my application file.
 
 But when I generate an event on client side(clicking a button), I supposed
 to see console output from java.
 
 But, nothing happens with that. No compile time errors in code.
 
 Can anyone guide me please.
 
 Thanks.
 Manu.
 
 
 -- 
 View this message in context:
 http://www.nabble.com/Cairngorm-ServiceLocator-Issue-tp14288802p14288802.html
 Sent from the FlexCoders mailing list archive at Nabble.com.
 
 
 -- 
 WARNING
 ---
 This electronic message and its attachments may contain confidential,
 proprietary or legally privileged information, which is solely for the use
 of the intended recipient.  No privilege or other rights are waived by any
 unintended transmission or unauthorized retransmission of this message. 
 If you are not the intended recipient of this message, or if you have
 received it in error, you should immediately stop reading this message and
 delete it and all attachments from your system.  The reading,
 distribution, copying or other use of this message or its attachments by
 unintended recipients is unauthorized and may be unlawful.  If you have
 received this e-mail in error, please notify the sender.
 
 AVIS IMPORTANT
 --
 Ce message électronique et ses pièces jointes peuvent contenir des
 renseignements confidentiels, exclusifs ou légalement privilégiés destinés
 au seul usage du destinataire visé.  L'expéditeur original ne renonce à
 aucun privilège ou à aucun autre droit si le présent message a été
 transmis involontairement ou s'il est retransmis sans son autorisation. 
 Si vous n'êtes pas le destinataire visé du présent message ou si vous
 l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le
 supprimer, ainsi que toutes ses pièces jointes, de votre système.  La
 lecture, la distribution, la copie ou tout autre usage du présent message
 ou de ses pièces jointes par des personnes autres que le destinataire visé
 ne sont pas autorisés et pourraient être illégaux.  Si vous avez reçu ce
 courrier électronique par erreur, veuillez en aviser l'expéditeur.
 
 
  
 

-- 
View this message in context: 
http://www.nabble.com/Cairngorm-ServiceLocator-Issue-tp14288802p14288983.html
Sent from the FlexCoders mailing list archive at Nabble.com.



Re: [flexcoders] Cairngorm Issue

2007-12-11 Thread Manu Dhanda

Code for Form:

?xml version=1.0 encoding=utf-8?
mx:Form xmlns:mx=http://www.adobe.com/2006/mxml; 
mx:Script
![CDATA[  
import com.mot.stir.model.StirModelLocator; 
[Bindable] public var model : StirModelLocator =
StirModelLocator.getInstance();
]]
/mx:Script
mx:FormHeading label=OneIT login/
mx:FormItem id=coreId label=CoreId:
mx:TextInput id=txtCoreId change={model.loginVO.coreId =
txtCoreId.text}/
/mx:FormItem
mx:FormItem label=Password:
mx:TextInput id=txtPassword change={model.loginVO.password =
txtPassword.text} 
displayAsPassword=true /
/mx:FormItem  
/mx:Form


Thanks.


Ralf Bokelberg-2 wrote:
 
 What does the code of the forms look like?
 
 Cheers
 Ralf.
 
 
 On Dec 12, 2007 5:25 AM, Manu Dhanda [EMAIL PROTECTED] wrote:







  Anyone with some comments on this issue??

  Thanks.
  Manu.



  Manu Dhanda wrote:
  
   Yes, as I said, with the click of the link button, other form
 load(from
   loginForm to registerForm). But, the fields on the form are not
 displaying
   in a right manner. Only the textfields are being displayed, and labels
 in
   front of those textfields disappered.
  
   Thanks.
   Manu.
  
   mydarkspoon wrote:
  
   I can't notice anything wrong with the code...
   Did you check the workflowState actually changes ?
  
   --- In flexcoders@yahoogroups.com, Manu Dhanda [EMAIL PROTECTED]
   wrote:
  
  
   Code for ValidatePanel.mxml :
   ?xml version=1.0 encoding=utf-8?
   mx:Panel
   xmlns:mx=http://www.adobe.com/2006/mxml;
   xmlns:loginview=com.mot.stir.view.loginview.*
   title=Login
   horizontalAlign=center
   verticalAlign=middle
  
   mx:Script
   ![CDATA[
   import mx.core.Container;
   import com.adobe.cairngorm.control.CairngormEventDispatcher;
   import com.mot.stir.model.StirModelLocator;
   import com.mot.stir.event.ClickLoginEvent;
   import com.mot.stir.vo.LoginVO;
   import com.mot.stir.vo.RegisterVO;
  
   [Bindable] public var model : StirModelLocator =
   StirModelLocator.getInstance();
  
   public function getView( workflowState : Number ) : Container
   {
   if( model.workflowState == StirModelLocator.VIEWING_REGISTER_SCREEN
 )
   {
   this.title = Register;
   return registerForm;
   }
   else
   {
   this.title = Login;
   return loginForm;
   }
   }
   ]]
   /mx:Script
  
   mx:ViewStack id=validateView selectedChild={ getView(
   model.workflowState ) }
   loginview:LoginForm id=loginForm/
   loginview:RegisterForm id=registerForm/
   /mx:ViewStack
   loginview:LoginAndRegisterControlBar id=lnrControlBar/
   /mx:Panel
  
   Thanks.
   Manu.
  
  
   mydarkspoon wrote:
   
Can you post the shole code for the component that hosts the view
   stack ?
   
If you tested the model workflowState and it did changed I guess
 that
the problem is with your model reference variable is not set to be
bindable with the [Bindable] metadata tag (although the
 ModelLocater
instance is set to be bindable, any reference to it must be
 bindable
as well).
If it's not the 2nd place I would check would be the getView()...
   
Anyway, it would be much helpful to see your code.
   
--- In flexcoders@yahoogroups.com, Manu Dhanda manuraj.dhanda@
   wrote:
   
   
Hii..
   
I am trying to learn how to use cairngorm. Now, I am creating
Login/Register
page.
The structure is like below:
mx:Panel
mx:ViewStack id=validateView selectedChild={ getView(
model.workflowState ) }
loginview:LoginForm id=loginForm/
loginview:RegisterForm id=registerForm/
/mx:ViewStack
loginview:LoginAndRegisterControlBar id=lnrControlBar/
/mx:Panel
   
In the code, loginForm  registerForm are two forms. and below
   them is a
controlbar( which controls which form need to be displayed via a
 link
button.
   
The issue is, initially, login form displayed fine. But, when I
click the
link button to display the registerForm, it only displays the
'textfields'
and none of the labels being displayed.
   
First I thought, there might be an issue with registerForm code,
 but
then I
set the registerForm to be displayed as the application default 
 it
displays fine and then same problem happen with login form(i.e.
 only
text
fields displyed with none labels in front of them.
   
Any help to resolve this issue will be great.
   
Thanks.
--
View this message in context:
http://www.nabble.com/Cairngorm-Issue-tf4960151.html#a14206482
Sent from the FlexCoders mailing list archive at Nabble.com.
   
   
   
   
   
  
   --
   View this message in context:
   http://www.nabble.com/Cairngorm-Issue-tf4960151.html#a14209723
   Sent from the FlexCoders mailing list archive at Nabble.com.
  
  
  
  
  
  
  

  --
  View this message in context:
 http://www.nabble.com/Cairngorm-Issue-tp14206482p14288804.html

  Sent from the FlexCoders mailing list 

Re: [flexcoders] Cairngorm Issue

2007-12-11 Thread Ralf Bokelberg
What does the code of the forms look like?

Cheers
Ralf.


On Dec 12, 2007 5:25 AM, Manu Dhanda [EMAIL PROTECTED] wrote:







  Anyone with some comments on this issue??

  Thanks.
  Manu.



  Manu Dhanda wrote:
  
   Yes, as I said, with the click of the link button, other form load(from
   loginForm to registerForm). But, the fields on the form are not
 displaying
   in a right manner. Only the textfields are being displayed, and labels in
   front of those textfields disappered.
  
   Thanks.
   Manu.
  
   mydarkspoon wrote:
  
   I can't notice anything wrong with the code...
   Did you check the workflowState actually changes ?
  
   --- In flexcoders@yahoogroups.com, Manu Dhanda [EMAIL PROTECTED]
   wrote:
  
  
   Code for ValidatePanel.mxml :
   ?xml version=1.0 encoding=utf-8?
   mx:Panel
   xmlns:mx=http://www.adobe.com/2006/mxml;
   xmlns:loginview=com.mot.stir.view.loginview.*
   title=Login
   horizontalAlign=center
   verticalAlign=middle
  
   mx:Script
   ![CDATA[
   import mx.core.Container;
   import com.adobe.cairngorm.control.CairngormEventDispatcher;
   import com.mot.stir.model.StirModelLocator;
   import com.mot.stir.event.ClickLoginEvent;
   import com.mot.stir.vo.LoginVO;
   import com.mot.stir.vo.RegisterVO;
  
   [Bindable] public var model : StirModelLocator =
   StirModelLocator.getInstance();
  
   public function getView( workflowState : Number ) : Container
   {
   if( model.workflowState == StirModelLocator.VIEWING_REGISTER_SCREEN )
   {
   this.title = Register;
   return registerForm;
   }
   else
   {
   this.title = Login;
   return loginForm;
   }
   }
   ]]
   /mx:Script
  
   mx:ViewStack id=validateView selectedChild={ getView(
   model.workflowState ) }
   loginview:LoginForm id=loginForm/
   loginview:RegisterForm id=registerForm/
   /mx:ViewStack
   loginview:LoginAndRegisterControlBar id=lnrControlBar/
   /mx:Panel
  
   Thanks.
   Manu.
  
  
   mydarkspoon wrote:
   
Can you post the shole code for the component that hosts the view
   stack ?
   
If you tested the model workflowState and it did changed I guess that
the problem is with your model reference variable is not set to be
bindable with the [Bindable] metadata tag (although the ModelLocater
instance is set to be bindable, any reference to it must be bindable
as well).
If it's not the 2nd place I would check would be the getView()...
   
Anyway, it would be much helpful to see your code.
   
--- In flexcoders@yahoogroups.com, Manu Dhanda manuraj.dhanda@
   wrote:
   
   
Hii..
   
I am trying to learn how to use cairngorm. Now, I am creating
Login/Register
page.
The structure is like below:
mx:Panel
mx:ViewStack id=validateView selectedChild={ getView(
model.workflowState ) }
loginview:LoginForm id=loginForm/
loginview:RegisterForm id=registerForm/
/mx:ViewStack
loginview:LoginAndRegisterControlBar id=lnrControlBar/
/mx:Panel
   
In the code, loginForm  registerForm are two forms. and below
   them is a
controlbar( which controls which form need to be displayed via a
 link
button.
   
The issue is, initially, login form displayed fine. But, when I
click the
link button to display the registerForm, it only displays the
'textfields'
and none of the labels being displayed.
   
First I thought, there might be an issue with registerForm code, but
then I
set the registerForm to be displayed as the application default  it
displays fine and then same problem happen with login form(i.e. only
text
fields displyed with none labels in front of them.
   
Any help to resolve this issue will be great.
   
Thanks.
--
View this message in context:
http://www.nabble.com/Cairngorm-Issue-tf4960151.html#a14206482
Sent from the FlexCoders mailing list archive at Nabble.com.
   
   
   
   
   
  
   --
   View this message in context:
   http://www.nabble.com/Cairngorm-Issue-tf4960151.html#a14209723
   Sent from the FlexCoders mailing list archive at Nabble.com.
  
  
  
  
  
  
  

  --
  View this message in context:
 http://www.nabble.com/Cairngorm-Issue-tp14206482p14288804.html

  Sent from the FlexCoders mailing list archive at Nabble.com.

  


Re: [flexcoders] Cairngorm Issue

2007-12-07 Thread Manu Dhanda

Code for ValidatePanel.mxml :
?xml version=1.0 encoding=utf-8?
mx:Panel 
xmlns:mx=http://www.adobe.com/2006/mxml;
xmlns:loginview=com.mot.stir.view.loginview.*
title=Login 
horizontalAlign=center 
verticalAlign=middle 

mx:Script
![CDATA[  
import mx.core.Container;
import com.adobe.cairngorm.control.CairngormEventDispatcher;
import com.mot.stir.model.StirModelLocator;
import com.mot.stir.event.ClickLoginEvent;   
import com.mot.stir.vo.LoginVO;
import com.mot.stir.vo.RegisterVO;

[Bindable] public var model : StirModelLocator =
StirModelLocator.getInstance();

public function getView( workflowState : Number ) : Container
{
if( model.workflowState == 
StirModelLocator.VIEWING_REGISTER_SCREEN )
{
this.title = Register;
return registerForm;
}
else
{
this.title = Login;
return loginForm;   
}
}
]]
/mx:Script

   mx:ViewStack id=validateView selectedChild={ getView(
model.workflowState ) }
loginview:LoginForm id=loginForm/
loginview:RegisterForm id=registerForm/
/mx:ViewStack
loginview:LoginAndRegisterControlBar id=lnrControlBar/
/mx:Panel

Thanks.
Manu.


mydarkspoon wrote:
 
 Can you post the shole code for the component that hosts the view stack ?
 
 If you tested the model workflowState and it did changed I guess that
 the problem is with your model reference variable is not set to be
 bindable with the [Bindable] metadata tag (although the ModelLocater
 instance is set to be bindable, any reference to it must be bindable
 as well).
 If it's not the 2nd place I would check would be the getView()...
 
 Anyway, it would be much helpful to see your code.
 
 --- In flexcoders@yahoogroups.com, Manu Dhanda [EMAIL PROTECTED] wrote:

 
 Hii..
 
 I am trying to learn how to use cairngorm. Now, I am creating
 Login/Register
 page. 
 The structure is like below:
 mx:Panel
mx:ViewStack id=validateView selectedChild={ getView(
 model.workflowState ) }
 loginview:LoginForm id=loginForm/
 loginview:RegisterForm id=registerForm/
 /mx:ViewStack
 loginview:LoginAndRegisterControlBar id=lnrControlBar/
 /mx:Panel
 
 In the code, loginForm  registerForm are two forms. and below them is a
 controlbar( which controls which form need to be displayed via a link
 button.
 
 The issue is, initially, login form displayed fine. But, when I
 click the
 link button to display the registerForm, it only displays the
 'textfields'
 and none of the labels being displayed.
 
 First I thought, there might be an issue with registerForm code, but
 then I
 set the registerForm to be displayed as the application default  it
 displays fine and then same problem happen with login form(i.e. only
 text
 fields displyed with none labels in front of them.
 
 Any help to resolve this issue will be great.
 
 Thanks.
 -- 
 View this message in context:
 http://www.nabble.com/Cairngorm-Issue-tf4960151.html#a14206482
 Sent from the FlexCoders mailing list archive at Nabble.com.

 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Cairngorm-Issue-tf4960151.html#a14209723
Sent from the FlexCoders mailing list archive at Nabble.com.



Re: [flexcoders] Cairngorm Issue

2007-12-07 Thread Manu Dhanda

Yes, as I said, with the click of the link button, other form load(from
loginForm to registerForm). But, the fields on the form are not displaying
in a right manner. Only the textfields are being displayed, and labels in
front of those textfields disappered.

Thanks.
Manu.

mydarkspoon wrote:
 
 I can't notice anything wrong with the code...
 Did you check the workflowState actually changes ?
 
 --- In flexcoders@yahoogroups.com, Manu Dhanda [EMAIL PROTECTED] wrote:

 
 Code for ValidatePanel.mxml :
 ?xml version=1.0 encoding=utf-8?
 mx:Panel 
  xmlns:mx=http://www.adobe.com/2006/mxml;
  xmlns:loginview=com.mot.stir.view.loginview.*
  title=Login 
  horizontalAlign=center 
  verticalAlign=middle 
 
 mx:Script
 ![CDATA[  
  import mx.core.Container;
  import com.adobe.cairngorm.control.CairngormEventDispatcher;
  import com.mot.stir.model.StirModelLocator;
  import com.mot.stir.event.ClickLoginEvent;   
  import com.mot.stir.vo.LoginVO;
  import com.mot.stir.vo.RegisterVO;
  
  [Bindable] public var model : StirModelLocator =
 StirModelLocator.getInstance();
 
  public function getView( workflowState : Number ) : Container
  {
  if( model.workflowState == 
 StirModelLocator.VIEWING_REGISTER_SCREEN )
  {
  this.title = Register;
  return registerForm;
  }
  else
  {
  this.title = Login;
  return loginForm;   
  }
  }
 ]]
 /mx:Script
 
mx:ViewStack id=validateView selectedChild={ getView(
 model.workflowState ) }
 loginview:LoginForm id=loginForm/
 loginview:RegisterForm id=registerForm/
 /mx:ViewStack
 loginview:LoginAndRegisterControlBar id=lnrControlBar/
 /mx:Panel
 
 Thanks.
 Manu.
 
 
 mydarkspoon wrote:
  
  Can you post the shole code for the component that hosts the view
 stack ?
  
  If you tested the model workflowState and it did changed I guess that
  the problem is with your model reference variable is not set to be
  bindable with the [Bindable] metadata tag (although the ModelLocater
  instance is set to be bindable, any reference to it must be bindable
  as well).
  If it's not the 2nd place I would check would be the getView()...
  
  Anyway, it would be much helpful to see your code.
  
  --- In flexcoders@yahoogroups.com, Manu Dhanda manuraj.dhanda@
 wrote:
 
  
  Hii..
  
  I am trying to learn how to use cairngorm. Now, I am creating
  Login/Register
  page. 
  The structure is like below:
  mx:Panel
 mx:ViewStack id=validateView selectedChild={ getView(
  model.workflowState ) }
  loginview:LoginForm id=loginForm/
  loginview:RegisterForm id=registerForm/
  /mx:ViewStack
  loginview:LoginAndRegisterControlBar id=lnrControlBar/
  /mx:Panel
  
  In the code, loginForm  registerForm are two forms. and below
 them is a
  controlbar( which controls which form need to be displayed via a link
  button.
  
  The issue is, initially, login form displayed fine. But, when I
  click the
  link button to display the registerForm, it only displays the
  'textfields'
  and none of the labels being displayed.
  
  First I thought, there might be an issue with registerForm code, but
  then I
  set the registerForm to be displayed as the application default  it
  displays fine and then same problem happen with login form(i.e. only
  text
  fields displyed with none labels in front of them.
  
  Any help to resolve this issue will be great.
  
  Thanks.
  -- 
  View this message in context:
  http://www.nabble.com/Cairngorm-Issue-tf4960151.html#a14206482
  Sent from the FlexCoders mailing list archive at Nabble.com.
 
  
  
  
  
 
 -- 
 View this message in context:
 http://www.nabble.com/Cairngorm-Issue-tf4960151.html#a14209723
 Sent from the FlexCoders mailing list archive at Nabble.com.

 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Cairngorm-Issue-tf4960151.html#a14217248
Sent from the FlexCoders mailing list archive at Nabble.com.



Re: [flexcoders] cairngorm value object type and cfc type do not match,why?

2007-12-06 Thread Tom Chiverton
On Wednesday 05 Dec 2007, Mark Shen wrote:
 cfreturn true /

This will arrive in Flex as the string true, but otherwise should work.
Change the log level to 'Debug' at the bottom of services-config.xml, bounce 
CF, and you should see information about what is being sent to/from the 
remoteing gateway in the CF console log.

-- 
Tom Chiverton
Helping to biannually negotiate dot-com models
on: http://thefalken.livejournal.com



Please note, as of 10th December 2007 the registered office address of 
Halliwells LLP will be at 3 Hardman Square, Spinningfields, Manchester, M3 3EB



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office.  Any reference to a partner in 
relation to Halliwells LLP means a member of Halliwells LLP.  Regulated by The 
Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


Re: [flexcoders] cairngorm value object type and cfc type do not match,why?

2007-12-05 Thread Mark Shen
Yes

I change the cfc function code like

cffunction name=addPerson displayname=addPerson access=remote 
output=false returntype=boolean
  cfargument name=personVO type=Bursary.cfcs.PersonVO required=true /
   
cfquery name=insertPerson datasource=bursary
INSERT INTO person_info (fname,
 lname, 
 sid) 
   VALUES('#personVO.firstname#', 
  '#tpersonVO.lastname#', 
  '#personVO.sid#')
/cfquery

cfreturn true /
  
 /cffunction

But  I still have same error.

Thanks for your hit

Mark


- Original Message 
From: Jeffry Houser [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, December 5, 2007 9:20:41 AM
Subject: Re: [flexcoders] cairngorm value object type and cfc type do not 
match,why?


Make sure you add properties to the CFC VO using the cfproperty tag. 
Properties case and order must match what is in the AS3 VO.

Additionally, use the full path with dot notation as the argument type.

Basically, Flex+CF is not smart enough to know that PersonVO is 
equal to Bursary.cfcs. PersonVO .

markflex2007 wrote:
 
 
 I have built a cfc vo class and flex vo class
 
 PersonVO.as
 
 package com.abc.CESF. Bursary.vo
 {
 import com.adobe.cairngorm .vo.IValueObject ;
 
 [RemoteClass( alias=Bursary. cfcs.PersonVO )]
 
 public class PersonVO implements IValueObject
 {
 public var firstname:String = ;
 public var lastname:String = ;
 public var sid:String= ;
 
 public function PersonVO(){
 
 this.firstname = ;
 this.lastname = ;
 this.sid = ;
 }
 
 }
 }
 PersonVO.cfc
 
 cfcomponent displayname= PersonVO hint=Login VO For CairngormTest
 output=false 
 
 cfset this.firstname =  /
 cfset this.lastname =  /
 cfset this.sid =  /
 
 /cfcomponent
 
 I have a function in cfc.it is here
 
 cffunction name=addPerson displayname= addPerson access=remote
 output=false returntype= boolean
 cfargument name=personVO type=PersonVO required=true /
 
 cfquery name=insertPerson datasource= bursary
 INSERT INTO person_info (fname,
 lname,
 sid)
 VALUES('#personVO. firstname# ',
 '#tpersonVO. lastname# ',
 '#personVO.sid# ')
 /cfquery
 
 cfreturn true /
 
 /cffunction
 
 but I get the error when I pass flex vo to the cfc function.I am not
 sure how to make flex vo and cfc vo match.the error message is here
 
 RPC Fault faultString= The argument PERSONVO passed to function
 addPerson() is not of type PersonVO. faultCode=Server. Processing
 faultDetail= If the component name is specified as a type of this
 argument, the reason for this error might be that a definition file
 for such component cannot be found or is not accessible. ]
 
 Please help me.Thanks
 
 Mark
 
 

-- 
Jeffry Houser, Technical Entrepreneur, Software Developer, Author, 
Recording Engineer
AIM: Reboog711 | Phone: 1-203-379-0773
--
My Company: http://www.dot- com-it.com
My Podcast: http://www.theflexs how.com
My Blog: http://www.jeffryho user.com





  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Re: [flexcoders] cairngorm value object type and cfc type do not match,why?

2007-12-05 Thread Jeffry Houser

  Make sure you add properties to the CFC VO using the cfproperty tag. 
Properties case and order must match what is in the AS3 VO.

  Additionally, use the full path with dot notation as the argument type.

  Basically, Flex+CF is not smart enough to know that PersonVO is 
equal to Bursary.cfcs.PersonVO.

markflex2007 wrote:
 
 
 I have built a cfc vo class and flex vo class
 
 PersonVO.as
 
 package com.abc.CESF.Bursary.vo
 {
 import com.adobe.cairngorm.vo.IValueObject;
 
 [RemoteClass(alias=Bursary.cfcs.PersonVO)]
 
 public class PersonVO implements IValueObject
 {
 public var firstname:String = ;
 public var lastname:String = ;
 public var sid:String= ;
 
 public function PersonVO(){
 
 this.firstname = ;
 this.lastname = ;
 this.sid = ;
 }
 
 }
 }
 PersonVO.cfc
 
 cfcomponent displayname=PersonVO hint=Login VO For CairngormTest
 output=false
 
 cfset this.firstname =  /
 cfset this.lastname =  /
 cfset this.sid =  /
 
 /cfcomponent
 
 I have a function in cfc.it is here
 
 cffunction name=addPerson displayname=addPerson access=remote
 output=false returntype=boolean
 cfargument name=personVO type=PersonVO required=true /
 
 cfquery name=insertPerson datasource=bursary
 INSERT INTO person_info (fname,
 lname,
 sid)
 VALUES('#personVO.firstname#',
 '#tpersonVO.lastname#',
 '#personVO.sid#')
 /cfquery
 
 cfreturn true /
 
 /cffunction
 
 but I get the error when I pass flex vo to the cfc function.I am not
 sure how to make flex vo and cfc vo match.the error message is here
 
 RPC Fault faultString=The argument PERSONVO passed to function
 addPerson() is not of type PersonVO. faultCode=Server.Processing
 faultDetail=If the component name is specified as a type of this
 argument, the reason for this error might be that a definition file
 for such component cannot be found or is not accessible.]
 
 Please help me.Thanks
 
 Mark
 
 

-- 
Jeffry Houser, Technical Entrepreneur, Software Developer, Author, 
Recording Engineer
AIM: Reboog711  | Phone: 1-203-379-0773
--
My Company: http://www.dot-com-it.com
My Podcast: http://www.theflexshow.com
My Blog: http://www.jeffryhouser.com



Re: [flexcoders] Cairngorm - what's you best practice on handling inital data from the server ?

2007-11-20 Thread Almog K
Hi Tom,

Thanks, I think your addition will help me too, yet, I think you refer to 
another issue which is whther the TabBar can accept user interaction, which is 
an issue I havn't  take  care of yet.
I could leverage the model.doneStartUp flag to start manipulating the view 
data, but I think when initializing a view component properties, it is more 
intuitive to first try binding the component to a specific function or property 
from the model or an helper function, this is a matter of personal taste, but 
also can help initializing components while configuration data is being 
retrieved from the server:

For example, if my app needs to get 10 configuration files that needs to be 
loaded before the user can start interaction, I'll show him a modal screen 
showing the process, but for the sake not delaying the user after the services 
were loaded by initializing complex component with the retrieved data, the 
binding can cause the components to initialize before all the services were 
loaded.

Best regards,
Almog Kurtser.

- Original Message 
From: Tom Chiverton [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, November 20, 2007 11:58:12 AM
Subject: Re: [flexcoders] Cairngorm - what's you best practice on handling 
inital data from the server ?


On Monday 19 Nov 2007, mydarkspoon wrote:
 However, in the view I have a TabBar, that needs to manipulate the
 XML
 config file from the model, meaning that it has to know when this xml
 is retrieved.
 I found few approaches to this:

Have your app. start up result handler set something like
 model.doneStartUp, 
and bind your TabNavigator's enabled property to that ?

-- 
Tom Chiverton
Helping to advantageously introduce visionary e-tailers
on: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England
 and Wales under registered number OC307980 whose registered office
 address is at St James's Court Brown Street Manchester M2 2JF.  A list of
 members is available for inspection at the registered office.  Any
 reference to a partner in relation to Halliwells LLP means a member of
 Halliwells LLP.  Regulated by The Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above
 and may be confidential or legally privileged.  If you are not the
 addressee you must not read it and must not use any information contained in
 nor copy it nor inform any person other than Halliwells LLP or the
 addressee of its existence or contents.  If you have received this email in
 error please delete it and notify Halliwells LLP IT Department on 0870
 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links









  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

Re: [flexcoders] Cairngorm - what's you best practice on handling inital data from the server ?

2007-11-20 Thread Tom Chiverton
On Monday 19 Nov 2007, mydarkspoon wrote:
 However, in the view I have a TabBar, that needs to manipulate the XML
 config file from the model, meaning that it has to know when this xml
 is retrieved.
 I found few approaches to this:

Have your app. start up result handler set something like model.doneStartUp, 
and bind your TabNavigator's enabled property to that ?

-- 
Tom Chiverton
Helping to advantageously introduce visionary e-tailers
on: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office.  Any reference to a partner in 
relation to Halliwells LLP means a member of Halliwells LLP.  Regulated by The 
Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


Re: [flexcoders] cairngorm design question, need suggestions

2007-11-19 Thread yiğit boyar
hi Ralf;
in our case, we auto-generate the commanders; so we wouldn't need to test
these parts.
since calling a commander from another one without dispatching a new event
does not violate the micro-architecture rules;
we will choose it for efficiency;
thanks a lot.

On Nov 16, 2007 2:09 PM, Ralf Bokelberg [EMAIL PROTECTED] wrote:

   Both is possible.

 However, in our practice we try to test as much as possible.
 The call to a cairngorm command is rather difficult to test,
 whereas you can easily test if a ciarngorm event is dispatched
 by adding a listener to the CairngormEventDispatcher.

 Cheers
 Ralf.


 On Nov 16, 2007 12:34 PM, Yigit Boyar [EMAIL PROTECTED]yboyar%40gmail.com
 wrote:
 
 
 
 
 
 
  hi all;
  i work in a project which includes the implementation of a RIA
  application in which the user will generate an XML based on an XSD
  defined language using dragdrops and etc. (user never sees the xml).
 
  at first, we developed a code generator using AIR that takes the XSD and
  generates vo's, commaders, events,model  controller. so we just hand
  coded the views. and the demo was very successful.
 
  now the second phase of the project came and there are huge differences
  in the XSD, so we had to handcode additional things into commanders,
  which violated the auto-generation approach and resulted in some bugs 
  inefficiency. then we decided to upgrade the code generator to create
  more clever commanders and more specific events.
 
  we have an important debate here for which we need suggestions, so i'm
  presenting you our question.
 
  when an event is being handled, there may be need to do some more things
  which is done by another commander and has a specific event. in such a
  situation,
  -- should the commander call the other commander just creating the event
  and sending it to the other's execute method
  or
  --should the commander create the event and just dispatch.
 
  the second is the normal way for the cairngorm specs but the first is
  much more efficient.
  so which one do you suggest?
 
  thnks.
 
  p.s. commanders are specific to VO's a a commander just edit's it's VO's
  data on the model.
 

 --
 Ralf Bokelberg [EMAIL PROTECTED] ralf.bokelberg%40gmail.com
 Flex  Flash Consultant based in Cologne/Germany
  



Re: [flexcoders] cairngorm design question, need suggestions

2007-11-16 Thread Ralf Bokelberg
Both is possible.

However, in our practice we try to test as much as possible.
The call to a cairngorm command is rather difficult to test,
whereas you can easily test if a ciarngorm event is dispatched
by adding a listener to the CairngormEventDispatcher.

Cheers
Ralf.



On Nov 16, 2007 12:34 PM, Yigit Boyar [EMAIL PROTECTED] wrote:






 hi all;
  i work in a project which includes the implementation of a RIA
  application in which the user will generate an XML based on an XSD
  defined language using dragdrops and etc. (user never sees the xml).

  at first, we developed a code generator using AIR that takes the XSD and
  generates vo's, commaders, events,model  controller. so we just hand
  coded the views. and the demo was very successful.

  now the second phase of the project came and there are huge differences
  in the XSD, so we had to handcode additional things into commanders,
  which violated the auto-generation approach and resulted in some bugs 
  inefficiency. then we decided to upgrade the code generator to create
  more clever commanders and more specific events.

  we have an important debate here for which we need suggestions, so i'm
  presenting you our question.

  when an event is being handled, there may be need to do some more things
  which is done by another commander and has a specific event. in such a
  situation,
  -- should the commander call the other commander just creating the event
  and sending it to the other's execute method
  or
  --should the commander create the event and just dispatch.

  the second is the normal way for the cairngorm specs but the first is
  much more efficient.
  so which one do you suggest?

  thnks.

  p.s. commanders are specific to VO's a a commander just edit's it's VO's
  data on the model.
  



-- 
Ralf Bokelberg [EMAIL PROTECTED]
Flex  Flash Consultant based in Cologne/Germany


Re: [flexcoders] cairngorm design question , need suggestions

2007-11-13 Thread Bjorn Schultheiss

Hi Yigit,

To execute commanderB from commanderA you need to dispatch eventB  
from commanderA.
You can either pass the instance as an argument of eventB or  
reference via the model in commandB.



regards,

Bjorn



On 14/11/2007, at 9:44 AM, yigit boyar wrote:


hi all;
we have a GUI built with flex using cairngorm microarchitechture.
the GUI is quite complex, and there is an xml schema (xsd) that
represents the VO structure.
We prepared a code generator(using AIR) which parses the xsd and  
creates

vo's,commanders,events,modelfrontcontroller, so we just handcode the
view. (Vo's are serializable to XML and deserializable from XML , all
auto generated -sth like jaxb of java- )

the GUI was good for version1 but the XSD had to change a lot and  
we had

to insert hand written code into commaders and we started to have
performance issues.

now there is a new XSD, GUI will be recreated and we want to  
upgrade our

code generator to support the changes (more clever commanders  more
specific events!); so here comes my design question :

every class has it's own commander. and sometimes, when an event is
being executed, another commander should also work(sth more must be
done), and there is a specific event for that operation too.
(e.g. deletion of an instance of class A requires the update of the
instances of class B )
in this situation,
1 should commanderA dispatch an event to update class B instance
or
2 should commanderA call commanderB's execute function with the
needed event as argument
or
3 should commarderA edit B vo's . (we don't prefer this cuz it
violates the generic style of our code  cairngorm)

the second option is more efficient since it does not need to dispatch
the event and wait for it to be caught; but we wonder whether it
violates the cairngorm design pattern rules.

this is a really important project, so we'll be very pleased by taking
your comments.







Re: [flexcoders] Cairngorm vs PureMVC

2007-10-25 Thread Tom Chiverton
On Wednesday 24 Oct 2007, [EMAIL PROTECTED] wrote:
 Hope Joe doesn't mind :)

Cheers Sean.
A good read, so it was worth you doing :-)

-- 
Tom Chiverton
Helping to challengingly e-enable professional infomediaries
on: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office.  Any reference to a partner in 
relation to Halliwells LLP means a member of Halliwells LLP.  Regulated by The 
Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


Re: [flexcoders] Cairngorm vs PureMVC

2007-10-24 Thread Tom Chiverton
On Tuesday 23 Oct 2007, [EMAIL PROTECTED] wrote:
   http://joeberkovitz.com/max2007/ - preso and code from MAX Europe.

Bah, what format's that .ppt in ? OpenOffice can't make head or tail of it.
Joe, can you export to PDF or something ?

-- 
Tom Chiverton. Are you a great Flex programmer, who knows Cairngorm, and has 
done some ColdFusion work ? Would you like to work for a top 30 law firm in 
Manchester, UK ? Are not an agency ? If yes, send email !



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office.  Any reference to a partner in 
relation to Halliwells LLP means a member of Halliwells LLP.  Regulated by The 
Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


Re: [flexcoders] Cairngorm vs PureMVC

2007-10-24 Thread Sean Corfield
On 10/24/07, Tom Chiverton [EMAIL PROTECTED] wrote:
 On Tuesday 23 Oct 2007, [EMAIL PROTECTED] wrote:
http://joeberkovitz.com/max2007/ - preso and code from MAX Europe.
 Bah, what format's that .ppt in ? OpenOffice can't make head or tail of it.
 Joe, can you export to PDF or something ?

http://corfield.org/articles/PracticalPatterns.pdf (2.1Mb)

Hope Joe doesn't mind :)
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood


Re: [flexcoders] Cairngorm vs PureMVC

2007-10-23 Thread Sean Corfield
On 10/22/07, Richard Rodseth [EMAIL PROTECTED] wrote:
  After attending James Echmalian's talk at 360 Flex/Seattle
  (http://ech.net/360flex2007/), I was anxious to see updated sample
  code, because I'm sure Allurent has learned a lot since the MVCS
  article was written, but I have been unable to reach James or Joe.

http://joeberkovitz.com/max2007/ - preso and code from MAX Europe.
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood


  1   2   3   4   5   6   >