jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julio Castillo" <jcasti...@edgenuity.com>
Subject Custom node types creation
Date Fri, 18 Jul 2008 00:29:30 GMT
We are using the jackrabbit Webdav servlets, and the remote client uses the
spi webdav interface.
We'd like to create some custom nodetypes by creating a CND file and using
code  shown here: http://yukatan.fi/2006/12/site/doc/nodetype/index.html
The question is, does this code have to run on the client side or the server
On the client side, the following line
NodeTypeManagerImpl ntmgr =(NodeTypeManagerImpl)ws.getNodeTypeManager();
causes a runtime casting error:  [java]
org.apache.jackrabbit.jcr2spi.nodetype.NodeTypeManagerImpl cannot be cast to
If we put this on the server side, where is the best place to do this?

Julio Castillo
Edgenuity Inc.

View raw message