RE: [flexcoders] Looking for examples of command chaining in Parsley 2.4

2011-09-05 Thread yang chen

>>Are you talking Parsley messaging and dynamic commands or standard Flex 
>>events as I can't get it working with Parsley messaging.The handling of the 
>>command results should be the same regardless of how the command is 
>>triggered. Add the [CommanResult] metatag above the resulthandler function 
>>and specify the event type that triggers this command in the function's 
>>parameter (you don't need the metatags if you are creating a dynamic command 
>>class). Then you need to make sure in the classes where you dispatch an event 
>>which triggers the command, you have [ManagedEvents(...)] metatags.If you can 
>>get single command triggering and handling to work, chaining multiple 
>>commands shouldn't be a problem. Regards,Yang
 > To: flexcoders@yahoogroups.com
> From: chris.velevi...@gmail.com
> Date: Mon, 5 Sep 2011 21:30:43 +1000
> Subject: Re: [flexcoders] Looking for examples of command chaining in Parsley 
> 2.4
> 
> I've tried both approaches without much luck.
> 
> On Thu, Sep 1, 2011 at 10:00, Chris Velevitch  
> wrote:
> > 2011/8/31 yang chen 
> >> In the command result handler, dispatch the event which will trigger the 
> >> next command in the chain.
> 
> Are you talking Parsley messaging and dynamic commands or standard
> Flex events as I can't get it working with Parsley messaging.
> 
> >> You may also want to look at Spicefactory's task framework.
> 
> I have tried it, but the examples are poor because there are no
> examples showing how to the Task Framework with the Parsley Framework.
> I keep getting "value is not a function" when I try using messaging
> and dynamic commands.
> 
> 
> Chris
> --
> Chris Velevitch
> Manager - Adobe Platform Users Group, Sydney
> m: 0415 469 095
> www.apugs.org.au
> 
> Adobe Platform Users Group, Sydney
> Topic: Deploying Coldfusion into the Cloud
> Date: 26th September 6pm for 6:30 start
> Details and RSVP on
> http://apugs.groups.adobe.com/index.cfm?event=post.display&postid=38239
> 
> 
> 
> 
> --
> 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] Looking for examples of command chaining in Parsley 2.4

2011-09-05 Thread Chris Velevitch
I've tried both approaches without much luck.

On Thu, Sep 1, 2011 at 10:00, Chris Velevitch  wrote:
> 2011/8/31 yang chen 
>> In the command result handler, dispatch the event which will trigger the 
>> next command in the chain.

Are you talking Parsley messaging and dynamic commands or standard
Flex events as I can't get it working with Parsley messaging.

>> You may also want to look at Spicefactory's task framework.

I have tried it, but the examples are poor because there are no
examples showing how to the Task Framework with the Parsley Framework.
I keep getting "value is not a function" when I try using messaging
and dynamic commands.


Chris
--
Chris Velevitch
Manager - Adobe Platform Users Group, Sydney
m: 0415 469 095
www.apugs.org.au

Adobe Platform Users Group, Sydney
Topic: Deploying Coldfusion into the Cloud
Date: 26th September 6pm for 6:30 start
Details and RSVP on
http://apugs.groups.adobe.com/index.cfm?event=post.display&postid=38239


Re: [flexcoders] Looking for examples of command chaining in Parsley 2.4

2011-08-31 Thread Chris Velevitch
2011/8/31 yang chen 
> In the command result handler, dispatch the event which will trigger the next 
> command in the chain.

I was thinking of that but it means there will be a dependency between
the 2 commands. That's why I looking for examples to see what the best
approach would be.

> You may also want to look at Spicefactory's task framework.

I will look into it.


Chris
--
Chris Velevitch
Manager - Adobe Platform Users Group, Sydney
m: 0415 469 095
www.apugs.org.au

Adobe Platform Users Group, Sydney
Topic: Deploying Coldfusion into the Cloud
Date: 26th September 6pm for 6:30 start
Details and RSVP on
http://apugs.groups.adobe.com/index.cfm?event=post.display&postid=38239


RE: [flexcoders] Looking for examples of command chaining in Parsley 2.4

2011-08-31 Thread yang chen

In the command result handler, dispatch the event which will trigger the next 
command in the chain.You may also want to look at Spicefactory's task 
framework. Regards,Yang> To: flexcoders@yahoogroups.com
> From: chris.velevi...@gmail.com
> Date: Wed, 31 Aug 2011 22:47:30 +1000
> Subject: [flexcoders] Looking for examples of command chaining in Parsley 2.4
> 
> In order to help me understand, I'm looking for examples of command
> chaining in Parsley. What I mean by command chaining is when one
> command returns a result that is then immediately used to initiate
> another command. I ask this question here because the parsley forums
> have been down for 2 days.
> 
> 
> Chris
> --
> Chris Velevitch
> Manager - Adobe Platform Users Group, Sydney
> m: 0415 469 095
> www.apugs.org.au
> 
> Adobe Platform Users Group, Sydney
> Topic: Deploying Coldfusion into the Cloud
> Date: 26th September 6pm for 6:30 start
> Details and RSVP on
> http://apugs.groups.adobe.com/index.cfm?event=post.display&postid=38239
> 
> 
> 
> 
> --
> 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
> 
> 
>