Cocoon 3.0 components

gelo1234 <[email protected]>
Newsgroups gmane.text.xml.cocoon.user
Message-ID <CAPJaKUpkvEPNm=r1bgTQ0GnxV8BsCNbXOKGZ8h8BDdMWiZrXbw@mail.gmail.com>
Hi all,

I wonder if C3 still supports:

1. matchers in sitemap.xmap ?

e.g.
<map:matchers default="wildcard">
                        <map:matcher logger="sitemap.matcher.wildcard"
name="wildcard" src="org.apache.cocoon.matching.WildcardURIMatcher"/>
                        <map:matcher logger="sitemap.matcher.regexp"
name="regexp" src="org.apache.cocoon.matching.RegexpURIMatcher"/>

2. selectors in sitemap.xmap ?

e.g.
<map:selectors default="browser">
                        <map:selector logger="sitemap.selector.browser"
name="browser" src="org.apache.cocoon.selection.BrowserSelector">


3. Is it possible to define cutom matchers/selectors ? Any examples ?

4. actions in sitemap.xmap ?

e.g.
<map:actions>
                        <map:action logger="sitemap.action.request"
name="request" src="org.apache.cocoon.acting.RequestParamAction"/>


5.  <map:mount uri-prefix="" src="..." check-reload="yes"/>   ?


I've got Cocoon site that hosts multiple www domains, all based on the same
sitemap.xmap with <map:mount uri-prefix="" src="domain_X"
check-reload="yes"/>

so the configuration is as follows:

<map:pipeline>
              <map:select type="cutomDomainSelector">
                       <map:when test="domainA">
                            <map:mount uri-prefix="" src="./domaina"
check-reload="yes"/>
                       </map:when>
                       <map:when test="domainB">
                             <map:mount uri-prefix="" src="./domainb"
check-reload="yes"/>
                       </map:when>
               </map:select>
</map:pipeline>

Is it still possible with C3 ? Or should I use some separate blocks config
?
The problem with separate blocks config is that I want to use empty URI
(not different) for each site

So
site1: http://www.domainA.org/
site2: http://www.domainB.org/

NOT

http://www.some.org/domainA/
http://www.some.org/domainB/

under one C3 war (sitemap.xmap config). And I would like to have a common
block accessible from each site.

Greetings,
Greg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.