Even with the mixinType set currently there is no way of creating more than one 
version using Sling. This is something that i think they want to add to Sling 
at some point in the future. It is apparently possible to do this yourself 
somehow but I am not a java user so have no idea how to do this myself (using 
servlets or something?). So I myself have abandoned using Sling and Jackrabbit 
for now until this functionality is available.

On Mar 12, 2010, at 11:42 PM, Alvaro Cabrerizo wrote:

> Hi:
> 
> Try to add the mixinType in the form. For example:
> 
> <form ...>
> ...
> <input type="hidden" name="jcr:mixinTypes" value="mix:versionable" />
> ...
> </form>
> 
> 
> Regards.
> 
> 
> 
> 2010/3/12 Carpenter Ngo <[email protected]>
> 
>> Hi there,
>> 
>> 
>> 
>> I am interested in making use of JackRabbit's versioning capabilities,
>> but can not seem to find any evidence of this in the Sling default post
>> servlets (SlingPostServlet.java) in trunk.  Currently, it seems that
>> subsequent form submissions to an existing node will just generate a new
>> node with an appended sequential identifier (generateName() of
>> ModifyOperation.java). Am I overlooking something?
>> 
>> 
>> 
>> Thanks.
>> 
>> Carpenter
>> 
>> 

Reply via email to