----- Original Message -----
From: "David Trammell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 24, 2002 5:58 PM
Subject: cocoon:/ not using current sitemap


> I cannot get the cocoon:/ protocol to work when using it from a sitemap
> that was mounted from another internal request using the cocoon:/
> protocol.  I have included snippets of my two sitemaps that duplicates
> this.
>
> Have I misunderstood how the cocoon:/ protocol works, or is this a bug?
> It works if I do not use cocoon:/ within the second sitemap and generate
> the xhtml directly.  It also works if I do not use cocoon:/ in the first
> one and directly mount the style sitemap.

AFAIR this behavior is known as bug #9736.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9736


> The requested URL is something like http://localhost/test/admin/users
>
> sitemap.xmap :
> ---------------
>     <map:pipelines>
>         <map:pipeline internal-only="true">
>             <map:match pattern="*/getstyle/**">
>                 <map:mount check-reload="yes" src="style.xmap"
> uri-prefix="{1}/getstyle"/>
>             </map:match>
>         </map:pipeline>
>
>         <map:pipeline>
>             <map:match pattern="*/**">
>                 <map:generate src="cocoon:/{1}/getstyle/muni"/>
>                 <map:serialize/>
>            </map:match>
>         </map:pipeline>
>     </map:pipelines>
>
> style.xmap :
> ---------------
>     <map:pipelines>
>         <map:pipeline internal-only="true">
>             <map:match pattern="getpanel">
>                 <map:generate src="test.xhtml"/>
>                 <map:serialize type="xml"/>
>             </map:match>
>         </map:pipeline>
>
>         <map:pipeline>
>             <map:match pattern="muni">
>                 <map:generate src="cocoon:/getpanel"/>
>                 <map:serialize/>
>            </map:match>
>         </map:pipeline
>     </map:pipelines>
>
>
> Thanks
> David


Jens

--

jens.lorenz at interface-projects dot de

interface:projects GmbH                             \\|//
Tolkewitzer Strasse 49                              (o o)
01277 Dresden                               ~~~~oOOo~(_)~oOOo~~~~
Germany


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to