Re: Flex DataGrid with CF dataprovider and Undo/Redo

2009-05-18 Thread Brian McCairn

Thanks Dave

Just wanted to mention that your suggestion led me to 
http://www.horwith.com/index.cfm/2009/5/7/ColdFusion-Architecture-For-RIAs-Part-4
 and I'm looking into this now.

Brian 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322614
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Flex DataGrid with CF dataprovider and Undo/Redo

2009-05-14 Thread Brian McCairn

Hi

Flex is new to me but I'm having fun setting up a datagrid with a CF 
dataprovider.

It works well so far and I have the CRUD functionality I need, however if 
possible I'd like to add a system of undo/redo on the grid.

I was thinking of maybe intercepting each query in the cfc and serialising a 
WDDX packet recording the pre-edit state of a cell and storing it in a database 
table so that I can rewind each change.

Or is there some built in Flex functionality I don't know about?

Any ideas? 

Thanks

Brian 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322524
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Flex DataGrid with CF dataprovider and Undo/Redo

2009-05-14 Thread Dave Watts

 Flex is new to me but I'm having fun setting up a datagrid with a CF 
 dataprovider.

 It works well so far and I have the CRUD functionality I need, however if 
 possible I'd like to add a system of undo/redo on the grid.

 I was thinking of maybe intercepting each query in the cfc and serialising a 
 WDDX packet recording the pre-edit state of a cell and
 storing it in a database table so that I can rewind each change.

 Or is there some built in Flex functionality I don't know about?

There is, sort of - LCDS, which is bundled with CF as a
single-processor license. Using the DataManagement service, you can
control database commits and cancel them, and each record is sent to
the server as a ChangeObject, which contains old and new values.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322529
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4