cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: how do you people pass parameters to XSP tag library?
Date Thu, 03 May 2001 19:30:21 GMT
On Thu, 3 May 2001 jkim28@csc.com wrote:

> I  created a regular html form that post to an XSP page. I get the form
> variable by using:
>      XSP page uses tag library namespace:
>      <nedds:getData><request:get-parameter name="name"/></nedds:getData>
> nedds is a XSP tag library name space and I'm trying to get the variable
> retrieved by request:get-parameter into the tag library.
>
>      tag library:
>   <xsl:template match="nedds:getData">
>         <xsp:expr>getData("<xsl:value-of select="."/>")</xsp:expr>
>    </xsl:template>
>
> I'm trying to pass a parameter to the getData method but i pass an empty
> string.
> So, how do you guys pass parameters to your tag library?

see get-nested-content and/or get-nested-string from any of the standard
logicsheets.

- donald


---------------------------------------------------------------------
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