cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Holz <h...@fiz-chemie.de>
Subject Re: slide-sample is losing pricipal-data
Date Mon, 18 Nov 2002 17:59:39 GMT
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



Mime
View raw message