cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Gallardo" <agalla...@agssa.net>
Subject Re: Simple question: XSP and Java
Date Mon, 30 Aug 2004 13:32:28 GMT
Look for xsp:attribute:

http://wiki.apache.org/cocoon/XSPSyntax?action=highlight&value=xsp:attribute

Best Regards,

Antonio Gallardo

Jonathan Linczak dijo:
> All,
>
> I haven't received an answer on this board yet, but I'll be persistent:
>   I have a simple question.  I need to pass a column's value from an
> ESQL statement as a parameter to an XML tag.  Like this:
>
> <esql:row-results>
>    <story>
>      <xsp:logic>
>        int newsId = <esql:get-int column="ID"/>;
>      </xsp:logic>
>      <title id="<xsp:expr>newsId</xsp:expr>"><esql:get-string
> column="title"/></title>
>    </story>
> </esql:row-results>
>
> Obviously, the above id attribute to the title tag doesn't work, but
> that's the idea of what I need.  Any help on this?
>
> Jon
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>


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


Mime
View raw message