cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Wechner <michael.wech...@wyona.com>
Subject Re: Any JCR (JSR-170) scratchpad code for Cocoon yet?
Date Tue, 08 Mar 2005 14:45:20 GMT
Sylvain Wallez wrote:

> Stefano Mazzocchi wrote:
>
>> Sylvain Wallez wrote:
>>
>>>> Will the scheme be named "jcr"?
>>>
>>>
>>>
>>> Yes, but the scheme can be anything you want, especially as you may 
>>> use several repositories within the same webapp, and therefore use 
>>> "jcr1", "jcr2", etc.
>>
>>
>>
>> ahhhhhhhhhhhhhhhhh!
>>
>> Please, do jcr://repo/* instead!
>
>
>
> I thought about that, but I'm not sure it is the best as:
> - most apps will use a single repo
> - I'd like to provide "pure JCR" repos using JNDI and "pure 
> Jackrabbit" where the component config is or points to the Jackrabbit 
> config, and these will be different implementations of SourceFactory


what about specifying the repo as parameter, e.g.

<map:generate src="jcr://...">
  <map:parameter name="repo" value="..."/>
</map:generate>

whereas if not parameter is being specified a "default repo" is being used?

Michi


-- 
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


Mime
View raw message