Edit version

Help us to improve OpenKM! Be part of the Open Source Community.
Forum rules
Please, before asking something see the documentation wiki or use the forum search function.
Post Reply
ssprasad.e
Senior Boarder
Senior Boarder
Posts: 52
Joined: Fri Nov 19, 2010 10:14 am

Edit version

Post by ssprasad.e » Thu Apr 21, 2011 9:48 am

edit version feature is not there?

jllort
Moderator
Moderator
Posts: 10830
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Edit version

Post by jllort » Thu Apr 21, 2011 3:11 pm

What do you understanding for edit version feature ?

ssprasad.e
Senior Boarder
Senior Boarder
Posts: 52
Joined: Fri Nov 19, 2010 10:14 am

Re: Edit version

Post by ssprasad.e » Sat Apr 23, 2011 11:01 am

I WANT TO EDIT THE VERSION OF DOCUMENT.
IN THE CODE HOW TO EDIT? PLEASE HELP ME.

jllort
Moderator
Moderator
Posts: 10830
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Edit version

Post by jllort » Sat Apr 23, 2011 1:27 pm

That's not trivial. The document version number is internally done by jackrabbit core, and can not be directly change it. But you can translate to your own codification if you want. The most simply way to make translation is on Servlet.

I suggest take a look at GWTUtil.java ( GWTDocument to Document and Document to GWTDocument ) and then DownloadServlet and ConversionServlet where version is passed as parameter and used to downloading some document version.

Post Reply