jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Angela Schreiber <anch...@day.com>
Subject Re: WebDAV Question (default nodetype of the content)
Date Wed, 21 Nov 2007 18:32:33 GMT
hi alexandre

Alexandre Martins wrote:
> Why this change?

maybe you missed the most recent discussion regarding this
change :)

see:
http://www.mail-archive.com/dev@jackrabbit.apache.org/msg08343.html

and the related jira issue:
http://issues.apache.org/jira/browse/JCR-416

> I need to use the contentNodeType as nt:resource, Is it possible? 

yes. there a different ways to achieve this:

- you create your own IOManager that initializes the DefaultHandler
   with a different node type for the jcr:content node.
   look at DefaultIOManager for an example.

- you create an custom extension to the DefaultHandler and replace
   the corresponding line in the config.xml specifying your custom
   handler instead of the DefaultHandler.

which way to choose depends on your requirements.
hope that helps.

angela




Mime
View raw message