cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Chávez <ccha...@agsoftware.dnsalias.com>
Subject Re: multiple attributes with xsp:attribute xsp:param
Date Tue, 01 Jun 2004 20:13:06 GMT

Peter Kr&#246;pfl Escribio :-)
> 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>

  Hi,

  you forget the name of each attribute (<xsp:attribute name="name"> ...)

  Carlos Chávez.

>
> ------------>8--
>
> However, it does not work.
> I could only generate one attribute, but not two, or more.
>
> What's the problem with this code?
>
>
> thanks,
> peter
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>


-- 
Carlos Chávez

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


Mime
View raw message