You can do the following Encompass the pipeline with an action say <map:pipeline> <!-- Specific XSP generation pipeline --> <map:act type ="parametersSet"> <map:parameter name="global-context-root" value="/accordianew" /> <map:parameter name="global-application-dir" value="C:\Projects\Accordia\Development\Rating\src\testcases" /> <map:match pattern ="......" <map:parameter name="application-home-dir" value="{../global-application-dir}"/> .... </map:match> <map:match pattern ="......" .... </map:match> <map:match pattern ="......" .... </map:match> </map:act> </map:pipeline>
sitemap entry for action parametersSet <map:actions> <map:action type="parametersSet" src=" src="com.accordia.action.handlers.GlobalParametersSetHandler" /> ... </map:actions> Hope it was helpful ..... Regds, Chiths -----Original Message----- From: Geoff Howard [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 28, 2002 9:56 AM To: '[EMAIL PROTECTED]' Subject: RE: Global parameters I believe that there is currently no way to do this, but there happened to be a similar proposal recently on the dev mailing list. You should be able to find the discussion here: http://marc.theaimsgroup.com/?t=102249244800002&r=1&w=2 Geoff Howard -----Original Message----- From: Eduardo Godoy [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 28, 2002 12:49 PM To: [EMAIL PROTECTED] Subject: Global parameters Hi Folks, I'd like to know how to define a "global" parameter for all my pipeline ... for example... the "Soap Host name" ... this parameter has to be used by XSP and Actions. Right now I have to define the parameter for each <map:act entry and for each <map:match. so, maybe this is not the best way to define the global parameters ... any idea? or something to read ? Thanks Eduardo. --------------------------------------------------------------------- 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>