You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Tsui, Alban" <Al...@COGNOS.com> on 2003/03/06 10:49:08 UTC

dynamic logicsheet in xsp?

Hi

I have a structure something like this

	lang
		en
			xsp
				my.xsp
			logicsheet
				test.xsl
		fr
			xsp
				my.xsp
			logicsheet
				test.xsl
		ja
			xsp
				my.xsp
			logicsheet
				test.xsl


so in my sitemap I have something like

	
			<map:match pattern="*/*">
				<map:generate type="serverpages"
src="lang/{1}/xsp/{2}.xsp"/>
				<map:serialize type="html"/>
			</map:match>

so the right xsp is used based on the url with something like,
http://server/myapp/en/my for example.

However, is there a way to make each xsp dyanmically include the right
logicsheet test.xsl?? Since each test.xsl contains different java codes for
each language.

Alban

This message may contain privileged and/or confidential information.  If you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so.  Thank you.

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org