Access to old values of BusinessDocument before commit

Hello,
I want to log the changes that have been made to my document.
So I need to check what kind of changes have been made to my document.
Can I access to the readed state of BusinessDocument ?

X-Application Version: 3.1.2
Tamino Version : 3.1.1
Platform : Win2k
WebContainer : Tomcat 3.3a
JDK Version : 1.3.1

Hello,

BusinessDocuments of X-Application store a copy of the current document tree, if they receive the transition ?modify? which switches the state of the document from READ to MODIFIABLE. Have a look at the package
businessdocument.state
The state class ?Modifiable? holds a reference to the ?old? document tree without modifications. If you want, you can add a new behavior here. You could add new state class derived from ?Modifiable?. If your state receives the transition ?commit? / ?quasiCommit? , you could compare the existing document with the ?old? document to extract the changes made by the user. For the old state ?Modifiable? is replaced by your new state class, you have to change the ?Read? class. Instead of creating a new state ?Modifiable? create your state when the ?modify? transition is received.

Bye,
Christian.

Hello,

you could also have a look at the topicManipulating two doctypes at same time.

This solutions creates separate log documents in Tamino Server each time a modification is requested.

Regards, Harald

Regards, Harald