Hi again.
To sum up, I'm trying to use request parameters in a logicsheet that I've made on my own.
According to Marco's suggestions (thanks a lot Marco!), I've tried this :
In the .xsp :
<mytag:year> <year><xsp-request:get-parameter name="yearparam"/></year> </mytag:year>
In the logicsheet :
<xsl:template match="mytag:year[year or @year]"> <xsl:variable name="mavar"> <xsl:call-template name="get-string-parameter"> <xsl:with-param name="name">year</xsl:with-param> </xsl:call-template> </xsl:variable> ... </xsl:template>
My problem is the following : as soon as I use my logicsheet tags, the value of <xsp-request:get-parameter name="year"> is lost.
----------------------- Example :
<xsp-request:get-parameter name="year"/> => returns the value of the parameter year
<mytag:year> <year><xsp-request:get-parameter name="year"/> </year> </mytag:year>
=> returns nothing !!! or better, something like that : (XSPRequestHelper.getParameter(objectModel, "year", null, null, null)) -----------------------
Is there something to do in the sitemap level? Just to know : is there anybody who tried this once? Am I trying to do something impossible?
Try to use "get-parameter" instead of "get-string-parameter". That should return the node as well. But you need to insert the variable with copy-of, not value-of and in a place where it can safely expand to a <xsp:expr/>.
HTH
Chris.
-- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]