cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <Giacomo.P...@pwr.ch>
Subject Re: [C2] Choose Producer and send parameters to it.
Date Thu, 28 Sep 2000 21:11:47 GMT
Davanum Srinivas wrote:
> 
> Hi,
> 
> In Cocoon1.8, We had a HTML file with the following tag.
> 
> <a href="myprod.xml?producer=MyXmlProducer&QueryFile=sev5.xml&StyleSheet=XMLTDefaultTable.xsl">Tnd
> Producer - Default</a>
> 
> This enabled us to -
> #1 : Specify a producer at runtime (MyXmlProducer)
> #2 : Send Parameters to the Producer (QueryFile=sev5.xml&StyleSheet=XMLTDefaultTable.xsl)
> 
> How can this be done in C2? Am unable to figure out what to add in sitemap.xmap, cocoon.xconf
etc.
> Are there any samples that i can look at?

The equivalent component in C2 to a C1 Producer is the Generator.
Look at xdoc/draft/sitemap-working-draft.xmap and into the
src/org/apache/cocoon/generation

Giacomo

-- 
PWR GmbH, Organisation & Entwicklung      Tel:   +41 (0)1  856 2202
Giacomo Pati, CTO/CEO                     Fax:   +41 (0)1  856 2201
Hintereichenstrasse 7                     Mobil: +41 (0)78 759 7703
CH-8166 Niederweningen                    Mailto:Giacomo.Pati@pwr.ch
                                          Web:   http://www.pwr.ch

Mime
View raw message