cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: multiple attributes with xsp:attribute xsp:param
Date Tue, 01 Jun 2004 20:11:57 GMT
On 01.06.2004 19:56, Peter Kröpfl wrote:

> Hi,
> 
> i am trying to build a tag with multiple attributes like that:
> 
> <link id="page.category.snowboarder" href="snowboarder/start">snowboarder</link>
> 
> (for i18n stuff)
> 
> 
> I tried it this way
> 
> ---8<-----------
> 
> <link>
>  <xsp:attribute>
>    <xsp:param name="name">id</xsp:param>
>    page.category.<esql:get-string column="NAME"/>
>  </xsp:attribute>
>  <xsp:attribute>
>    <xsp:param name="name">href</xsp:param>
>    <esql:get-string column="NAME"/>/start
>  </xsp:attribute>
>  <esql:get-string column="NAME"/>
> </link>
> 
> ------------>8--
> 
> However, it does not work.
> I could only generate one attribute, but not two, or more.
> 
> What's the problem with this code?

I don't see one, it looks ok. But you never know what the XSP 
stylesheets do with this code and what Java code comes out at the end. 
You should have a look into that code to see what happens. It should be 
located in the servlet container's work dir.

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message