Re: node type nt:file

2009-07-13 Thread Julian Reschke
Tobias Bocanegra wrote: hi, no, the jcr:content node is not created automatically. ... But it maybe in some repositories, so make sure to handle that case as well :-) BR, Julian

Re: node type nt:file

2009-07-12 Thread Tobias Bocanegra
hi, no, the jcr:content node is not created automatically. regards, toby On Sun, Jul 12, 2009 at 5:01 AM, ndesk1900ndesk1...@gmail.com wrote: When we add a new node of type 'nt:file' ( rootNode.addNode(Some Name,nt:file); ) isn't the node jcr:content (under that node) created automatically?

node type nt:file

2009-07-11 Thread ndesk1900
When we add a new node of type 'nt:file' ( rootNode.addNode(Some Name,nt:file); ) isn't the node jcr:content (under that node) created automatically? If its supposed to (which is that way i guess it works) newNode.getNode(jcr:content) throws me a PathNotFoundException. Thanks Neville -- View