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 09:27:17 GMT
1.8-dev snapshot of august #7.

dima wrote:
> 
> Also, what version of Cocoon are you using?
>  1.7.4 does exactly that without any problems.
> 
> cheers,
> d.
> 
> On Wed, 23 Aug 2000, Yeb Havinga wrote:
> 
> > 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
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> > For additional commands, e-mail: cocoon-users-help@xml.apache.org
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org

Mime
View raw message