You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Stéphane De Jonghe <sd...@atermon.com> on 2001/09/06 15:50:39 UTC

Searching for contentstore rootpath

Hi Sliders,

How can I receive the value of the rootpath in the contentstore element
in the file Domain.xml ?
      <contentstore classname="slidestore.reference.FileContentStore">
          <parameter name="rootpath">d:/temp/contentstore</parameter>
          <parameter name="version">false</parameter> ...

Thanks,

Stef


Re: Searching for contentstore rootpath

Posted by Dirk Verbeeck <di...@pandora.be>.
Stéphane De Jonghe wrote:

> Hi Sliders,
>
> How can I receive the value of the rootpath in the contentstore element
> in the file Domain.xml ?
>       <contentstore classname="slidestore.reference.FileContentStore">
>           <parameter name="rootpath">d:/temp/contentstore</parameter>
>           <parameter name="version">false</parameter> ...
>
> Thanks,
>
> Stef

>From where do you want to fetch that parameter, from a store subclass it's
easy but from other places it's not.
You can always reparse the configuration but that is very specific.
Why / where do you need it?


Dirk