> 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

Reply via email to