You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Martin Holz <ho...@fiz-chemie.de> on 2002/11/18 18:59:39 UTC
Re: slide-sample is losing pricipal-data
Hello Alexander,
On Monday 18 November 2002 09:54, Alexander Peters wrote:
>
> i'm trying to get cocoon using jakarta-slide as repository for the xml
> documents. While running the slide sample in the cvs/scratchpad
> (11.11.2002) i recognized that the sample is losing the principal-data at
> some places. For example:
>
> sitemap.xmap
> --------------
> <map:match pattern="view/**">
> - <map:read src="slide://{1}?cocoon-principal={../ID}"/>
> + <map:read src="slide://{1}?cocoon-source-principal={../ID}"/>
> </map:match>
Okay, this should fix the first problem.
> src/scratchpad/src/org/apache/cocoon/generation/SourceDescriptionGenerator
However SourceDescriptionGenerator does not forward the query string to its
children, so they don't get the principal. I would success the attached
changes.
Martin