cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ulrich Mayring <u...@denic.de>
Subject Re: Different Stylesheets depending on requestParameter
Date Tue, 02 May 2000 08:16:14 GMT
Stefano Mazzocchi wrote:
> 
> BTW, the requests parameters are automatically sent to the XSLT
> processor in Cocoon so it's just a matter of doing
> 
>  <xsl:choose>
>   <xsl:when test="$book=1">  </xsl:when>
>   <xsl:when text="$book=2">  </xsl:when>
>  </xsl:choose>

Cocoon 1.7.2

Error found handling the request.

org.apache.xalan.xslt.XSLProcessorException: pattern = '$book'
VariableReference given for variable out of context or without
definition!  Name = book

Is there any documentation or sample for this feature?

Ulrich

-- 
Ulrich Mayring
DENIC eG, Systementwicklung

Mime
View raw message