cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor Sazhnev" <ratt...@mail.ru>
Subject Re: How do I use logicsheets parameters
Date Fri, 30 Nov 2001 07:14:12 GMT

----- Original Message -----
From: "Christopher Watson" <cwatson@taraserv.demon.co.uk>
To: "Cocoon-Users (E-mail)" <cocoon-users@xml.apache.org>
Sent: Thursday, November 29, 2001 6:11 PM
Subject: How do I use logicsheets parameters


> Could someone help me? I could benefit from a "logicsheet parameters 101"
>
> I want to use my own logicsheet and pass in runtime parameter(s)
>
> I have set up a logicsheet with the namespace mytags and a "function"
> get_my_param,
> to which I want to pass an xsp/java variable. In the following xsp I have
> three goes at passing
> a String variable called bag - with the value "56891" - but with no
success.
>
> (The logicsheet is based on guesses from what I found in session.xsl,
> util.xsl etc.)
>
>  .... the results, and the logicsheet follow the listing of the page
>
>   <xsl:template name="value-for-passed">
>     <xsl:choose>
>       <xsl:when test="@passed"><xsl:value-of select="@passed"/></xsl:when>
>       <xsl:when test="mytags:passed">
>         <xsl:call-template name="get-nested-content">

i solve this problem by using not get-nested-content, but get-nested-string
template from esql.xsl  - may be it help
i get this info from cocoon archive maillists

Best regards Igor Sazhnev



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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