cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Forge <fo...@neonics.com>
Subject Variable xtp-taglib attributes
Date Sun, 07 Jan 2001 22:54:21 GMT

Hello,

I want to do the following:

<nsp:list-albums artist_id="x"/>

where nsp is my taglib, and x is a variable number, passed as a parameter.

I tried:

<nsp:list-albums>
  <xsp:attribute
name="artist_id"><xsp:expr>request.getParameter("aid")</xsp:expr></xsp:attribute>
</nsp:list-albums>

but this does not work.

If I replace the xsp:expr with static content, like say '1',
it still does not work.
The above is present in an xsp:page environment..

I tried al sorts of apply-template statements within the template
matching the nsp:list-albums tag, but it seems that that is not
processed.

Is there any way to do this? Maybe with cocoon2?



Mime
View raw message