Re: [jcr] Scope of JCRNodeSource

2005-07-26 Thread Michael Wechner
Cédric Damioli wrote: Sylvain and I have actually had different ideas about what a JCRSource must be. I personally thought about an entry point to every JCR Item in the Repository (it appears it is what you want too) Sylvain thought more about a TraversableSource with directories and files

Re: [jcr] Scope of JCRNodeSource

2005-07-26 Thread Michael Wechner
Cédric Damioli wrote: Andreas Hartmann a écrit : Cédric Damioli wrote: Hi Andreas, This block is really in an very early stage of development. In the actually committed version, it does not work as expected. Sylvain first wrote this JCRNodeSource for my own needs (I am one of his coworker

Re: [jcr] Scope of JCRNodeSource

2005-07-22 Thread Cédric Damioli
Andreas Hartmann a écrit : Cédric Damioli wrote: Hi Andreas, This block is really in an very early stage of development. In the actually committed version, it does not work as expected. Sylvain first wrote this JCRNodeSource for my own needs (I am one of his coworkers) and I've applied many

Re: [jcr] Scope of JCRNodeSource

2005-07-22 Thread Andreas Hartmann
Cédric Damioli wrote: Hi Andreas, This block is really in an very early stage of development. In the actually committed version, it does not work as expected. Sylvain first wrote this JCRNodeSource for my own needs (I am one of his coworkers) and I've applied many many patches to it without co

Re: [jcr] Scope of JCRNodeSource

2005-07-22 Thread Andreas Hartmann
Sylvain Wallez wrote: [...] 1) IIUC, every time a source is resolved a new JCR session is created. Does this mean that no transactions can be used? Maybe it would make sense to attach the JCR session to the Cocoon session, so that all resolved JCRNodeSources save their data to a sin

Re: [jcr] Scope of JCRNodeSource

2005-07-22 Thread Sylvain Wallez
Andreas Hartmann wrote: Hi Cocoon devs, I'm currently examining the JCR block (thanks, Sylvain, Michi and all others who were involved!) Some questions: 1) IIUC, every time a source is resolved a new JCR session is created. Does this mean that no transactions can be used? Maybe it wou

Re: [jcr] Scope of JCRNodeSource

2005-07-22 Thread Andreas Hartmann
Cédric Damioli wrote: Hi Andreas, This block is really in an very early stage of development. In the actually committed version, it does not work as expected. Yesterday I configured Lenya to use the JCRSourceFactory to generate sources for storing content - it works fine :) Maybe a short intr

Re: [jcr] Scope of JCRNodeSource

2005-07-22 Thread Cédric Damioli
Hi Andreas, This block is really in an very early stage of development. In the actually committed version, it does not work as expected. Sylvain first wrote this JCRNodeSource for my own needs (I am one of his coworkers) and I've applied many many patches to it without contributing them back t