Hello, It is critical to my project to have the capability to add comments describing a document modification. After studying the Nuxeo source, I didn't see a good way to accomplish this without modifying the code in nuxeo-core.
There are two ways that I can see to accomplish this. 1) Add a new overloaded method to the CoreSession interface that has a comments parameter, e.g.: public DocumentModel saveDocument(DocumentModel docModel, String comments) 2) Pass the comments as context data and modify the implementations of saveDocument to extract them from the context data and marshal to the CoreEvent constructor. docModel.putContextData(ScopeType.REQUEST, "action.comments", comments); Any thoughts? I would be willing to write the code to make either change. Thanks, Mike _______________________________________________ ECM mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/ecm
