> There are a few ways to do this, but the simplest way is to databind > the grid to a data structure inside of Flex and make sure that data > structure gets updated by the form submit. You can do the update > either at the same time as you submit the form, or you can wait for a > successful response from the server and do the update in the response > handler function inside of Flex. I recommend staying with the basic > built-in techniques while you get started with Flex. If you are > looking for how to handle the situation of two people updating the > data at the same time or the issue of potentially updating stale data, > > then that is a different task from making sure the grid data updates > with the content of the form submit. > > -Mike Chabot >
You bring up my concern that I didn't say at all... what if the data is changed via another person? I want to be able to get that data too. > On Sun, Mar 1, 2009 at 10:23 AM, Kim Hoopingarner > <[email protected]> wrote: > > > > I have a Flex 3 main app that calls 2 components - one has a > datagrid with user data while the other component has an input form > for the same user data. I use the Coldfusion to server the data > changes. I found that if I change the data using the input form, it > is not reflected in the datagrid. So I'm out of sync - and can't find > a good solution to prevent this. > > > > I know now that solutions are out there (like LiveCycle data > services) to keep components in sync with the database. But I'm > confused... I have a hosting site to work with - and I'm in a shared > environment. Therefore I won't be able to update the coldfusion > config files to make the LiveCycle work. > > > > I need a solution that will allow me to keep Flex 3 and the database > in sync using Coldfusion - but kept within the constraints of a shared > hosting environment. What should I look into. > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319957 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

