cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoff Howard <ghow...@crosswalk.com>
Subject giving cinclude parameters?
Date Sun, 02 Jun 2002 02:24:05 GMT
I am generating a page with several cinclude elements which need to call
another pipeline with parameters - .ie:,
cocoon:/includedStuff.xml?param1=foo&param2=bar

How would you go about this?  

What I'd wanted to do is to provide the params inside the cinclude element
like so:
<cinclude:include src="cocoon:/includedStuff.xml">
	<cinclude:param1>foo</cinclude:param1>
	<cinclude:param2>bar</cinclude:param2>
</cinclude:include>

But don't see any support for that in the source for CInclude.

I won't know in advance how many there will be, and I obviously won't know
what they are.  They do not already exist in the object model, and because
the same pipeline can be included  multiple times in the same page with
different parameters, the object model doesn't really work.

Geoff Howard

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