cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yeb Havinga <yeb.havi...@ddnh.nl>
Subject Re: accessing parameter values
Date Wed, 23 Aug 2000 08:19:19 GMT
Mac Schwarz wrote:
> 
> I'm getting the same error as trying to use the request taglib as an
> attribute value:
> 
> ElemTemplateElement error: Can not add xsp:expr to xsl:attribute

I did a little test and got the same error. Also when trying to pass the
value using xsl variable, I had no success:

<xsp:expr>request.getParameter("aap")</xsp:expr> returned the 3rd line
in

((Element) xspCurrentNode).setAttribute(
      "someatt",
      "request.getParameter("aap")"
    );
in the generated java code.

<request:get-parameter name="aap" default="N/A"/> returned
((Element) xspCurrentNode).setAttribute(
      "someatt",
      ""
    );

Sorry!

-- Yeb

Mime
View raw message