cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saravanan Bellan <sa...@siteROCK.com>
Subject RE: Passing dynamic parameters to TagLib
Date Thu, 26 Oct 2000 19:43:38 GMT
I just want to pass some variables defined in the XSP as parameters to the
Tag Lib.
Is this possible?

<myTagLib:getNotTable>
	<myTagLib:param1><xsp:expr>param1Var</xsp:expr></myTagLib:param1>
	<myTagLib:param2><xsp:expr>param2Var</xsp:expr></myTagLib:param2>
</myTagLib:getNotTable>

-sarva

-----Original Message-----
From: Robin Green [mailto:greenrd@hotmail.com]
Sent: Thursday, October 26, 2000 6:02 AM
To: cocoon-users@xml.apache.org
Subject: Re: Passing dynamic parameters to TagLib


Well, that depends. Please give more details. My advice is to use element 
content rather than attributes to pass data to your logicsheet - that way it

will be easier to integrate it with other logicsheets.

-----------------------------------------------------------------------
>>How do you pass a dynamic parameter to tag lib,

>>I want to do some thing like,

>><myTagLib:getNotTable>
>>	<xsp:attribute name="notId">
>>		<xsp:expr>notId</xsp:expr>
>>	</xsp:attribute>
>></myTagLib:getNotTable>

>>where myTagLib is my TagLib.

>>This does not work,

>>It works only if do,

>><myTagLib:getNotTable notId="not-1"/>

>>Thanks for your help.

>>-sarva

Mime
View raw message