Michael Wechner wrote:
Hi
It seems to me that the current implementation/configuration is mixing
the "pure" JCR usage and the Lenya JCR usage, e.g. within cocoon.xconf
<component class="org.apache.lenya.cms.jcr.LenyaRepository" logger="jcr"
role="javax.jcr.Repository">
....
This is no "mixture". The LenyaRepository is a specialization of the
JackrabbitRepository of the JCR block. It attaches the JCR session to the
Cocoon session (this will be necessary to use JCR transactions) and
registers Lenya namespaces and node types. That's just how OOSD works :)
<component-instance
class="org.apache.lenya.cms.jcr.LenyaJCRSourceFactory" name="jcr">
...
The LenyaJCRSourceFactory adds the Lenya mixin nodetype to new
repository nodes.
I think the one of the Cocoon block should be able to coexist beside the
Lenya one and not be replaced the Lenya one.
That would be possible for instance by using a selector for different
repositories. Multiple source factories can be registered anyway
(using different protocols).
Also I am not sure why this is actually necessary and this needs to me
mixed at all.
See above.
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]