BO.Save, Transaction and EditingState


Author
Message
Chan
Chan
Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)Advanced StrataFrame User (713 reputation)
Group: Forum Members
Posts: 533, Visits: 2K
Hi,

I am developing web application. In one of my web page, I bind my PrimaryBO to it. When user click a button, I call the PrimaryBO.Save() and then some other BOs.Save() as well. They are within Transaction, try...catch block.



If that is any exception caused by some other BOs.Save() which called after PrinmaryBO.Save(), I call BusinessLayer.TransactionRollback().



I have problem that, even though is rollbacked, PrimaryBO.EditingState() will still Idle. It caused user unable to "re-edit" it on UI. How to solve this?



Thank you
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search