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?