See sample app from Hadi Eskanderi on github. It has nice support for editable objects
sent from my HTC Desire On 06/08/2010 8:31 AM, "André Werlang" <[email protected]> wrote: Hi! I'm doing a CRUD. I have to do something about user wanting to cancel. We tried use binding with explicit update control to source, but it seems expensive to program going from control to control. Other problem is when you have more than two levels of edit, e.g. you are editing an Order object, which has OrderItems which in turn has some other Thing. Each entity being edited in its own window. If I edit Order/OrderItem/Thing, and commit changes to Thing, but cancel on OrderItem, I have to do something about to make Order consistent. So I decided to edit a copy of object, or revert to a copy of it. But I'm glad to hear alternatives. :) Cheers. 2010/8/5 Krzysztof Koźmic <[email protected]> > > Why are you doing this in the first place? > > sent from my HTC Desire >> >> On 06/08/2010 7:54... -- André F. Werlang twitter.com/awerlang programmernotfound.blogspot.com -- You received this... -- You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en.
