cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cocoon User <coc...@eng.gr>
Subject pipeline parameter forward is it possible?
Date Sat, 21 Dec 2002 16:54:16 GMT


what i have to do:


i have content.xml

i can call this file using 2 parameters

..../content.xml?lang=GR
..../content.xml?lang=EN

the problem is that i dont call this resource directly
but through a pipeline



    <map:resources>
        <map:resource name="buildsite>
            <map:aggregate element="site">
                <map:part src="menu.xml"/>
                <map:part src="content.xml"/>
            </map:aggregate>
            <map:serialize type="xml"/>
        </map:resource>
    </map:resources>


<map:pipeline>
	<map:match pattern="site">

	<map:call resource="buildsite"/>
	</map:match>
</map:pipeline>

THE question:

how can i call http://...../site?lang=GR

and then into the sitemap pass this [lang=GR]
to <map:resource>

any idea?


thnx

stavros


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.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