Hello Alex,

thanks, it works...my problem is to get the each versions and display each
image version.

jackrabbit rocks!

cheers.


Alexander Klimetschek wrote:
> 
> On Thu, Sep 17, 2009 at 16:44, freak182 <[email protected]> wrote:
>> Can you have some pointers or line of codes on proper way to versioned a
>> file? im little bit confused now.
> 
> http://wiki.apache.org/jackrabbit/ExamplesPage
> 
> For overwriting the data of your existing nt:file node, simply do
> 
> file.checkout();
> file.getNode("jcr:content").setProperty("jcr:data", inputStream);
> // maybe update jcr:lastModified etc.
> file.save();
> file.checkin();
> 
> If you want to change existing versions (because I noted you did
> rootNode.getNode(baseVersion))  - that's not possible, versions are
> read-only.
> 
> Regards,
> Alex
> 
> -- 
> Alexander Klimetschek
> [email protected]
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Help-on-versioning-tp25469946p25503225.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Reply via email to