StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
WinForms (How do I?)
»
Undo issue
Undo issue
Post Reply
Like
0
Undo issue
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Ian Johnston
Ian Johnston
posted 12 Years Ago
ANSWER
Topic Details
Share Topic
Group: StrataFrame Users
Posts: 77,
Visits: 470
I have a maintainence form where the undo is undoing but not saving. The save button is active and when closing the form or navigating the records it ask to save. Where should I look?
Reply
Like
0
Edhy Rijo
E
Edhy Rijo
posted 12 Years Ago
ANSWER
Post Details
Share Post
E
Group: StrataFrame Users
Posts: 2.4K,
Visits: 23K
Hi Ian,
This could be tricky. At some point your BO is Dirty and when trying to move out of the current record, you are ask to save it. If you are using more than one BO in your form, make sure all of them are part of the form's Undo action which by default will only cover the PrimaryBusinessObject, if that is not the case, please post any code you may be using for either Save or Undo, or better yet post a small sample showing the issue.
Edhy Rijo
Reply
Like
0
Fabian R Silva, -
Fabian R Silva, -
posted 12 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Users
Posts: 153,
Visits: 1.2K
Hello Ian, When you're undoing you do something more? call edit? Have a user control? custom properties on BO?
All of that stuff is important, as Edhy Rijo says, BO is dirty and the best can be to debug the change of the diry property on the BO, something is changing that and will give you why this is happening.
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search