cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vermeulen, Francis" <>
Subject Using input modules
Date Wed, 18 Dec 2002 09:00:16 GMT

can anyone tell me how to make a sitemap recognize the use of an input
module? I followed the documentation about using modules literally, but the
sitemap generator does not seem to recognize the syntax. Here is the
fragment of my sitemap:

 	<map:resource name="controller">

		<map:generate type="serverpages"
			<map:parameter name="event" value="action" />
		<map:transform type="cinclude"/>
		<map:transform src="stylesheets/{attribute:style}.xsl" />
		<map:serialize type="html" />

The idea is to use a request attribute ("style") - set before the pipeline
is processed - to define the stylesheet to be used. However, the generated
sitemap Java code still handles the "{attribute:style}" as a regular
substitution by calling "substitute(list, "{attribute:style}")" while I
would have expected a call to the corresponding input module.

It's also not clear from the doc when the sitemap expects an input module,
e.g. when is "attribute" recognized as an input module and when as an output


Ing. FRA Vermeulen
Senior J2EE Architect
ECM Solutions - Eindhoven
mobiel: +31 (0) 6 222 03 856

Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message