> From: Per Kreipke [mailto:[EMAIL PROTECTED]] > > P.s. > > > - in Cocoon, does something already exist to get set sitemap > > parameters from somewhere 'global' (hopefully from the init params)? > > Or perhaps to/from the servlet context?
There is a new thing in CVS HEAD called InputModules. I think that this is what you are looking for. You can create an input module for servlet context attributes (or wait a little - I think it will be available soon) and use it like this in your sitemap: <map:generate src="http://{app:server-port}/bin/get?foo" /> There is also another new thing in sitemap syntax, called 'global-parameters': <map:pipelines> <map:global-parameters> <map:parameter name="servlet-port" value="8080" /> ... <map:generate src="http://{../server-port}/bin/get?foo" /> But AFAIK they can be set only from the mounting sitemap, so you'll have to change your sitemaps anyway. Konstantin > > Per > > --------------------------------------------------------------------- > 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: <[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/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>