|
|
|
| The following comment has been added to this issue: |
[ Permlink ] |
|
Author: Anahide Tchertchian
Date: 07/03/07 17:20
Comment:
the version creation should be triggered by the save document event.
the kind of versioning to perform (minor, major version incremented) should be passed with the document model using its context data.
example on how to set the context data:
from java code:
docModel.putContextData(ScopeType.REQUEST, "versionChangeType", "major")
from template, bind the component setting the value to:
#{docModel.contextData["default/versionChangeType"]}
+ the context data map should be copied on the new version created.
|
|
|
version change notification is blurry, needs small refactoring
|
|
|
|
![]() |
|
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets