cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Wielgus <>
Subject Re: Re: Including - another problem
Date Sun, 26 Oct 2003 13:02:12 GMT
>You include the xsp-Page as pure xml.. it hast to be compiled at
>because a xsp represents java-code. That's the job of the
>serverpage-generator. Aside from that, your call of the xsp with the
>"src"-Attribut searches for an matcher that matches
>"resource/content/header" in the current sitemap. If you want to
>static xml-content you can use the "resource:" protocol (see the
>sitemap) in the future. But because of you have to compile with the
>serverpage generator, do define a pipeline like this:
><map:match pattern="*.xsp">
>    <map:generate src="resources/content/{1}.xsp" type="serverpages"/>
>    <map:serialize type="xml"/>

I had already the pipeline in such form, and with serverpages
generator and nested in action-tags.

>Remember that this pipeline has to be in the "auth-protect"-Action
to have
>the authentication-Context! ;)
>The line in the main document would look like:
><cinclude:include src="cocoon:/header.xsp"/>

This line was exactly the problem! I simply added the "cocoon:/" to
the path in the "src" parameter and now it works :)

Thank you very much, you helped me again :))


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message