RE: [flexcoders] Cairngorm framework question
Awesome. Thanks Steve. You made the day :) Don't sleep in the planes, Don't waste time eating food inflight/outflight, Don't read books...until you have all the documentation/release notes nailed down :-). Looking forward to it. -Original Message- From: Steven Webster [mailto:[EMAIL PROTECTED] Sent: Monday, April 11, 2005 6:19 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Cairngorm framework question > Now isn't that a great news...Thanks Steve. By chaining commands do > you mean that it'll be synchronous invocation? You betcha. As synchoronous as a phased locked loop clock divider circuit. Erm. Very synchronous. Steven -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07/04/2005 Yahoo! Groups Links This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message. To reply to our email administrator directly, send an email to [EMAIL PROTECTED] Littler Mendelson, P.C. http://www.littler.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> 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 framework question
> Now isn't that a great news...Thanks Steve. By chaining > commands do you mean that it'll be synchronous invocation? You betcha. As synchoronous as a phased locked loop clock divider circuit. Erm. Very synchronous. Steven -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07/04/2005 Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> 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 framework question
Now isn't that a great news...Thanks Steve. By chaining commands do you mean that it'll be synchronous invocation? -Original Message- From: Steven Webster [mailto:[EMAIL PROTECTED] Sent: Monday, April 11, 2005 2:37 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Cairngorm framework question I'll put out an announce on Cairngorm 0.99 shortly (that's right, we're going to give you guys a release before we finish some of the final stuff we want in a 1.0 release) but one of the additions that we were finally convinced of valid use-case for, is a SequenceCommand that allows you to chain commands to one-event. I'm on the west-coast of US right now, and intend spending some time on the documentation in various airports around the northern hemisphere, so we can get a release to you guys shortly. Best, Steven > -Original Message- > From: Valy Sivec [mailto:[EMAIL PROTECTED] > Sent: 11 April 2005 10:52 > To: flexcoders@yahoogroups.com > Subject: RE: [flexcoders] Cairngorm framework question > > > Exactly. I would like to use optimistic locking and want to make sure > that the "update_ts" on the client matches what was stored in the > db that's why need to refresh the data on the client after the > data was updated the "update_ts" > gets populated via database trigger... > > In the meantime if the update_ts was altered, raise an error to > refresh the data before editing. > > > Valy > > > > > > --- "Mehdi, Agha" <[EMAIL PROTECTED]> wrote: > > You can execute command from another command. Just import > > EventBroadcaster into the calling command and do > > > EventBroadcaster.getInstance().broadcastEvent("getPhysicalAddress", > > indi_id > > ) from the resulthandler. > > > > One question though. What does GetPhysicalAddress() do? Dos > it get the > > same address as you're updating? > > > > Thanks > > > > -Original Message- > > From: Valy Sivec [mailto:[EMAIL PROTECTED] > > Sent: Monday, April 11, 2005 9:49 AM > > To: flexcoders@yahoogroups.com > > Subject: [flexcoders] Cairngorm framework question > > > > > > Guys, > > > > I'm using Cairngorm framework which is great but I ran into a > > issueand need some help I want to be able execute more than > > one commands as result of interacting with a UI element > > > > Scenario: Have a grid with Edit button underneath; Select a > row from > > the grid and want to edit the record. When I submit the edit form I > > want to fire > > 2 events like: > > > > EventBroadcaster.getInstance().broadcastEvent( > > "updateAddress", addr ); > > EventBroadcaster.getInstance().broadcastEvent( > > "getPhysicalAddress", indi_id ); - refresh the data in the grid > > > > First, are the calls executed in this order all the time? and > > second... I wouldn't want to execute "getPhysicalAddress" if the > > "updateAddress" > > fails > > > > Were you guys able to execute multiple commands in one call > and sync > > them? > > > > Am I missing something? > > Thanks Valy > > > > __ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > This email may contain confidential and privileged material for the > > sole use of the intended recipient(s). Any review, use, > distribution > > or disclosure by others is strictly prohibited. If you are not the > > intended recipient (or authorized to receive for the recipient), > > please contact the sender by reply email and delete all > copies of this > > message. > > > > To reply to our email administrator directly, send an email to > > [EMAIL PROTECTED] > > > > Littler Mendelson, P.C. > > http://www.littler.com > > > > > > > > > > > > __ > Do you Yahoo!? > Yahoo! Small Business - Try our new resources site! > http://smallbusiness.yahoo.com/resources/ > > > > Yahoo! Groups Links > > > > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07/04/2005 > >
RE: [flexcoders] Cairngorm framework question
I'll put out an announce on Cairngorm 0.99 shortly (that's right, we're going to give you guys a release before we finish some of the final stuff we want in a 1.0 release) but one of the additions that we were finally convinced of valid use-case for, is a SequenceCommand that allows you to chain commands to one-event. I'm on the west-coast of US right now, and intend spending some time on the documentation in various airports around the northern hemisphere, so we can get a release to you guys shortly. Best, Steven > -Original Message- > From: Valy Sivec [mailto:[EMAIL PROTECTED] > Sent: 11 April 2005 10:52 > To: flexcoders@yahoogroups.com > Subject: RE: [flexcoders] Cairngorm framework question > > > Exactly. I would like to use optimistic locking and want to > make sure that the "update_ts" on the client matches what was > stored in the db that's why need to refresh the data on > the client after the data was updated the "update_ts" > gets populated via database trigger... > > In the meantime if the update_ts was altered, raise an error > to refresh the data before editing. > > > Valy > > > > > > --- "Mehdi, Agha" <[EMAIL PROTECTED]> wrote: > > You can execute command from another command. Just import > > EventBroadcaster into the calling command and do > > > EventBroadcaster.getInstance().broadcastEvent("getPhysicalAddress", > > indi_id > > ) from the resulthandler. > > > > One question though. What does GetPhysicalAddress() do? Dos > it get the > > same address as you're updating? > > > > Thanks > > > > -Original Message- > > From: Valy Sivec [mailto:[EMAIL PROTECTED] > > Sent: Monday, April 11, 2005 9:49 AM > > To: flexcoders@yahoogroups.com > > Subject: [flexcoders] Cairngorm framework question > > > > > > Guys, > > > > I'm using Cairngorm framework which is great but I ran into a > > issueand need some help I want to be able execute more than > > one commands as result of interacting with a UI element > > > > Scenario: Have a grid with Edit button underneath; Select a > row from > > the grid and want to edit the record. When I submit the edit form I > > want to fire > > 2 events like: > > > > EventBroadcaster.getInstance().broadcastEvent( > > "updateAddress", addr ); > > EventBroadcaster.getInstance().broadcastEvent( > > "getPhysicalAddress", indi_id ); - refresh the data in the grid > > > > First, are the calls executed in this order all the time? and > > second... I wouldn't want to execute "getPhysicalAddress" if the > > "updateAddress" > > fails > > > > Were you guys able to execute multiple commands in one call > and sync > > them? > > > > Am I missing something? > > Thanks Valy > > > > __ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > This email may contain confidential and privileged material for the > > sole use of the intended recipient(s). Any review, use, > distribution > > or disclosure by others is strictly prohibited. If you are not the > > intended recipient (or authorized to receive for the recipient), > > please contact the sender by reply email and delete all > copies of this > > message. > > > > To reply to our email administrator directly, send an email to > > [EMAIL PROTECTED] > > > > Littler Mendelson, P.C. > > http://www.littler.com > > > > > > > > > > > > __ > Do you Yahoo!? > Yahoo! Small Business - Try our new resources site! > http://smallbusiness.yahoo.com/resources/ > > > > Yahoo! Groups Links > > > > > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07/04/2005 > > -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07/04/2005 Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> 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 framework question
Agha, thanks for suggestion, I missed that. Regards, Valy --- "Mehdi, Agha" <[EMAIL PROTECTED]> wrote: > I was just wondering why don't you return a > structure from UpdateAddress > that holds two keys. One is a boolean and the second > is the updated Address > if it was updated. This way you won't have to make > two separate calls. If > the update fails send false and empty address > object. That should work both > ways and will help minimizing individual calls to > the service. Does it make > sense? > > -Original Message- > From: Valy Sivec [mailto:[EMAIL PROTECTED] > Sent: Monday, April 11, 2005 10:52 AM > To: flexcoders@yahoogroups.com > Subject: RE: [flexcoders] Cairngorm framework > question > > > Exactly. I would like to use optimistic locking and > want to make sure that > the "update_ts" on the client matches what was > stored in the db that's > why need to refresh the data on the client after the > data was updated > the "update_ts" gets populated via database > trigger... > > In the meantime if the update_ts was altered, raise > an error to refresh the > data before editing. > > > Valy > > > > > > --- "Mehdi, Agha" <[EMAIL PROTECTED]> wrote: > > You can execute command from another command. Just > import > > EventBroadcaster into the calling command and do > > > EventBroadcaster.getInstance().broadcastEvent("getPhysicalAddress", > > indi_id > > ) from the resulthandler. > > > > One question though. What does > GetPhysicalAddress() do? Dos it get the > > same address as you're updating? > > > > Thanks > > > > -Original Message- > > From: Valy Sivec [mailto:[EMAIL PROTECTED] > > Sent: Monday, April 11, 2005 9:49 AM > > To: flexcoders@yahoogroups.com > > Subject: [flexcoders] Cairngorm framework question > > > > > > Guys, > > > > I'm using Cairngorm framework which is great but I > ran into a > > issueand need some help I want to be able > execute more than > > one commands as result of interacting with a UI > element > > > > Scenario: Have a grid with Edit button underneath; > Select a row from > > the grid and want to edit the record. When I > submit the edit form I > > want to fire > > 2 events like: > > > > EventBroadcaster.getInstance().broadcastEvent( > > "updateAddress", addr ); > > EventBroadcaster.getInstance().broadcastEvent( > > "getPhysicalAddress", indi_id ); - refresh the > data in the grid > > > > First, are the calls executed in this order all > the time? and > > second... I wouldn't want to execute > "getPhysicalAddress" if the > > "updateAddress" > > fails > > > > Were you guys able to execute multiple commands in > one call and sync > > them? > > > > Am I missing something? > > Thanks Valy > > > > __ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > protection around > > http://mail.yahoo.com > > > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > This email may contain confidential and privileged > material for the > > sole use of the intended recipient(s). Any review, > use, distribution > > or disclosure by others is strictly prohibited. If > you are not the > > intended recipient (or authorized to receive for > the recipient), > > please contact the sender by reply email and > delete all copies of this > > message. > > > > To reply to our email administrator directly, send > an email to > > [EMAIL PROTECTED] > > > > Littler Mendelson, P.C. > > http://www.littler.com > > > > > > > > > > > > __ > Do you Yahoo!? > Yahoo! Small Business - Try our new resources site! > http://smallbusiness.yahoo.com/resources/ > > > > Yahoo! Groups Links > > > > > > > > > > This email may contain confidential and privileged > material for the sole use of the intended > recipient(s). Any review, use, distribution or > disclosure by others is strictly prohibited. If you > are not the intended recipient (or authorized to > receive for the recipient), please contact the > sender by reply email and delete all copies of this > message. > > To reply to our email administrator directly, send > an email to > [EMAIL PROTECTED] > > Littler Mendelson, P.C. > http://www.littler.com > > > > __ Do you Yahoo!? Make Yahoo! your home page http://www.yahoo.com/r/hs Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> 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 framework question
I was just wondering why don't you return a structure from UpdateAddress that holds two keys. One is a boolean and the second is the updated Address if it was updated. This way you won't have to make two separate calls. If the update fails send false and empty address object. That should work both ways and will help minimizing individual calls to the service. Does it make sense? -Original Message- From: Valy Sivec [mailto:[EMAIL PROTECTED] Sent: Monday, April 11, 2005 10:52 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Cairngorm framework question Exactly. I would like to use optimistic locking and want to make sure that the "update_ts" on the client matches what was stored in the db that's why need to refresh the data on the client after the data was updated the "update_ts" gets populated via database trigger... In the meantime if the update_ts was altered, raise an error to refresh the data before editing. Valy --- "Mehdi, Agha" <[EMAIL PROTECTED]> wrote: > You can execute command from another command. Just import > EventBroadcaster into the calling command and do > EventBroadcaster.getInstance().broadcastEvent("getPhysicalAddress", > indi_id > ) from the resulthandler. > > One question though. What does GetPhysicalAddress() do? Dos it get the > same address as you're updating? > > Thanks > > -Original Message- > From: Valy Sivec [mailto:[EMAIL PROTECTED] > Sent: Monday, April 11, 2005 9:49 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Cairngorm framework question > > > Guys, > > I'm using Cairngorm framework which is great but I ran into a > issueand need some help I want to be able execute more than > one commands as result of interacting with a UI element > > Scenario: Have a grid with Edit button underneath; Select a row from > the grid and want to edit the record. When I submit the edit form I > want to fire > 2 events like: > > EventBroadcaster.getInstance().broadcastEvent( > "updateAddress", addr ); > EventBroadcaster.getInstance().broadcastEvent( > "getPhysicalAddress", indi_id ); - refresh the data in the grid > > First, are the calls executed in this order all the time? and > second... I wouldn't want to execute "getPhysicalAddress" if the > "updateAddress" > fails > > Were you guys able to execute multiple commands in one call and sync > them? > > Am I missing something? > Thanks Valy > > __ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > > > Yahoo! Groups Links > > > > > > > > > > This email may contain confidential and privileged material for the > sole use of the intended recipient(s). Any review, use, distribution > or disclosure by others is strictly prohibited. If you are not the > intended recipient (or authorized to receive for the recipient), > please contact the sender by reply email and delete all copies of this > message. > > To reply to our email administrator directly, send an email to > [EMAIL PROTECTED] > > Littler Mendelson, P.C. > http://www.littler.com > > > > __ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ Yahoo! Groups Links This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message. To reply to our email administrator directly, send an email to [EMAIL PROTECTED] Littler Mendelson, P.C. http://www.littler.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> 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 framework question
Exactly. I would like to use optimistic locking and want to make sure that the "update_ts" on the client matches what was stored in the db that's why need to refresh the data on the client after the data was updated the "update_ts" gets populated via database trigger... In the meantime if the update_ts was altered, raise an error to refresh the data before editing. Valy --- "Mehdi, Agha" <[EMAIL PROTECTED]> wrote: > You can execute command from another command. Just > import EventBroadcaster > into the calling command and do > EventBroadcaster.getInstance().broadcastEvent("getPhysicalAddress", > indi_id > ) from the resulthandler. > > One question though. What does GetPhysicalAddress() > do? Dos it get the same > address as you're updating? > > Thanks > > -Original Message- > From: Valy Sivec [mailto:[EMAIL PROTECTED] > Sent: Monday, April 11, 2005 9:49 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Cairngorm framework question > > > Guys, > > I'm using Cairngorm framework which is great but I > ran into a issueand > need some help I want to be able execute more > than one commands as > result of interacting with a UI element > > Scenario: Have a grid with Edit button underneath; > Select a row from the > grid and want to edit the record. When I submit the > edit form I want to fire > 2 events like: > > EventBroadcaster.getInstance().broadcastEvent( > "updateAddress", addr ); > EventBroadcaster.getInstance().broadcastEvent( > "getPhysicalAddress", indi_id ); - refresh the data > in the grid > > First, are the calls executed in this order all the > time? and second... I > wouldn't want to execute "getPhysicalAddress" if > the "updateAddress" > fails > > Were you guys able to execute multiple commands in > one call and sync them? > > Am I missing something? > Thanks Valy > > __ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around > http://mail.yahoo.com > > > > Yahoo! Groups Links > > > > > > > > > > This email may contain confidential and privileged > material for the sole use of the intended > recipient(s). Any review, use, distribution or > disclosure by others is strictly prohibited. If you > are not the intended recipient (or authorized to > receive for the recipient), please contact the > sender by reply email and delete all copies of this > message. > > To reply to our email administrator directly, send > an email to > [EMAIL PROTECTED] > > Littler Mendelson, P.C. > http://www.littler.com > > > > __ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> 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 framework question
You can execute command from another command. Just import EventBroadcaster into the calling command and do EventBroadcaster.getInstance().broadcastEvent("getPhysicalAddress", indi_id ) from the resulthandler. One question though. What does GetPhysicalAddress() do? Dos it get the same address as you're updating? Thanks -Original Message- From: Valy Sivec [mailto:[EMAIL PROTECTED] Sent: Monday, April 11, 2005 9:49 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Cairngorm framework question Guys, I'm using Cairngorm framework which is great but I ran into a issueand need some help I want to be able execute more than one commands as result of interacting with a UI element Scenario: Have a grid with Edit button underneath; Select a row from the grid and want to edit the record. When I submit the edit form I want to fire 2 events like: EventBroadcaster.getInstance().broadcastEvent( "updateAddress", addr ); EventBroadcaster.getInstance().broadcastEvent( "getPhysicalAddress", indi_id ); - refresh the data in the grid First, are the calls executed in this order all the time? and second... I wouldn't want to execute "getPhysicalAddress" if the "updateAddress" fails Were you guys able to execute multiple commands in one call and sync them? Am I missing something? Thanks Valy __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com Yahoo! Groups Links This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message. To reply to our email administrator directly, send an email to [EMAIL PROTECTED] Littler Mendelson, P.C. http://www.littler.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> 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/