cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniele Madama" <d.mad...@pronetics.it>
Subject Re: changing sitemap global variable
Date Thu, 23 Mar 2006 11:12:17 GMT

> Hi,
> I've got a sitemap variable defined like this :
> map:sitemap/map:pipelines/map:component-configurations/global-variables/send-from.
> I've there a way to change the value of this variable through cocoon
> java api?
>

Hola,
I'm not sure, but I think that you can set a new configuration through the
SitemapVariableHolder [1] component, calling the configure() method with a
implemention of a new Configuration [2]. Never tried.

Bye

[1]
http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/components/modules/input/SitemapVariableHolder.html
[2]
http://excalibur.apache.org/apidocs/org/apache/avalon/framework/configuration/Configuration.html

-- 
Daniele Madama (http://www.danysoft.org)

Pro-netics S.r.l. (http://www.pronetics.it)



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message