Oh, well, my example seems to be of little use, as I forgot to configure two stores in the namespace.

This example should be better:

<slide default="slide">
  <namespace name="slide">
    <definition>
      <store name="myStore1">
         ...
      </store>
      <store name="myStore2">
         ...
      </store>
      <scope match="/" store="myStore1"/>
      <scope match="/files" store="myStore2"/>
    </definition>
    ...
  </namespace>
  ...
<slide>

Note that there must be exactly one store at the root ("/"). As you can see, additional stores may lie in the scope of another store.

Oliver

Oliver Zeigermann wrote:

If the stores are in the same namespace they share the same users, I guess. Maybe you mix up namespaces in a domain with stores in a namespace?

You map stores into namespaces using something like

<slide default="slide">
  <namespace name="slide">
    <definition>
      <store name="myStore">
         ...
      </store>
      <scope match="/" store="myStore"/>
    </definition>
    ...
  </namespace>
  ...
<slide>

Oliver

Jacob Lund wrote:

Hi All!

How do I configure the domain.xml to use more than one store? How will this
work - do I have to define users for all stores or do I have a "main store"
that holds the users? Will the additional stores show up as new collections?


Thanks
Jacob


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



.





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


.






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to