----- Original Message -----
From: "Christopher Watson" <[EMAIL PROTECTED]>
To: "Cocoon-Users (E-mail)" <[EMAIL PROTECTED]>
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to