Im trying to create extra tabs in the authoring (CMS) environment similar to the default publication. I have a matcher in pubs/mypub/sitemap.xmap to match request for my new tabs.

mypub/sitemap.xmap
----
...
<map:pipeline>
  <map:match pattern="tab-**">
    <map:mount uri-prefix="" src="">
  </map:match>
</map:pipeline>
...


mypub/tabs.xmap
----
...
<map:pipeline>
  <map:match type="usecase" pattern="tab-*">
    <map:generate type="file" src="" <!-- doesnt match usecase -->
    <map:serialize type="xml"/>
  </map:match>
     
  <!-- {tab-area}/{page} -->
  <map:match pattern="*/*">
    <map:redirect-to uri="{request:requestURI}?lenya.usecase=tab-overview&amp;lenya.step=showscreen"/>
  </map:match>
             
  <map:match pattern="**">
    <map:generate type="file" src="">
    <map:serialize type="xml"/>
  </map:match>
<map:pipeline>
...

With he above I get a:
org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: wired/tab-workflow/index.html

The tabs.xmap mounts correctly and redirects to the default tab url but after the redirect I can't get it to match the same url only with the query string. Not even with the ** pattern matches. Is there something I'm missing?

--
Justin Hannus
Software Engineer | Lycos Inc.
[EMAIL PROTECTED]
[781] 370-2988

Reply via email to