Andreas Hartmann wrote:
That would be possible for instance by using a selector for different
repositories.
can you give an example
cocoon.xconf:
<repositories>
<default> ... </default>
<myrepo> ... </myrepo>
</repositories>
selector = (...) this.manager.lookup(Repository.ROLE + "Selector");
repository = (...) selector.select("myrepo");
ok. And within the sitemap it would look as follows:
jcr://myrepo/....
Multiple source factories can be registered anyway
(using different protocols).
I think it makes sense to register teh Lenya Source Factory with
another protocol, e.g. jcr-lenya or whatever.
OK, we could do that if we use a selector to manage the repository
implementations
isn't that two different things? I mean the actual repository and
the actual source factory?
or define our own repository service (which
I wouldn't recommend).
To be honest I am still very confused. Where are these classes
actually, because
I cannot find them within src/java and what file does patch the
cocoon.xconf file.
I thought this is being done by src/webapp/WEB-INF/cocoon-xconf.xsl,
but it doesn't
really contain anything with re to that.
All JCR related stuff is in the JCR publet.
ok
This way, we can keep
it clearly separated from the core.
why do you consider JCR as publet. I would say that should be part of
the core.
(reminder for me: I forgot to
move the jcr.import usecase to the publet)
I'll update the docs "real soon now".
Sorry if the implementation causes confusion, I tried to keep it as
straightforward as possible and use only Cocoon/Avalon development
principles.
no problem. It just seems to me that it needs some explanation and
discussions
BTW - I hope you'll get well soon!
me too ;-)
Thanks
Michi
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Michael Wechner
Wyona - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
[EMAIL PROTECTED] [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]