cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arnaud Bienvenu <arnaud.bienv...@generasound.com>
Subject Re: Can the sitemap pass parameters to XSP, like it passes them to XSL?
Date Thu, 09 Aug 2001 19:46:30 GMT
	Tibi,

You can get the parameter with this function :
parameters.getParameter("lang", "unknown");
(unkown is the default value)

If you want to insert it outside java code within your xsp, use <xsp:expr> :
<xsp:expr>parameters.getParameter("lang", "unknown")</xsp:expr>

If somebody knows a better way, please tell us :-)
-- 
Arnaud Bienvenu
http://www.generasound.com/

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