AnsweredAssumed Answered

revert content/versioning.

Question asked by xerox on Mar 27, 2006
Latest reply on Apr 5, 2006 by xerox
When there a several versions on the space, I want to make it possible to revert a previous version to be the default version.

I saw the versionservice
public void revert(NodeRef nodeRef, Version version);
So I made a link in documentdetails.jsp and linked an actionlistener documentdetailsbean.revert at it.
But I don't know what to programm in  public revert{}+
can someone help me?

Outcomes