Daniele Madama wrote:
| | | 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.
i've tried (in flowscript) somethign like this :
var holder =
cocoon.getComponent(Packages.org.apache.cocoon.components.modules.input.SitemapVariableHolder.ROLE);
var conf =
Packages.org.apache.avalon.framework.configuration.DefaultConfiguration("send-from");
conf.setValue("test");
holder.configure(conf);
but it does not work
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]