cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Ziegeler <cziege...@apache.org>
Subject Re: Access Settings object of Spring Configurator inside sitemap.xmap?
Date Wed, 07 Jan 2009 08:01:21 GMT
Gabriel Gruber wrote:
> 
> hi,
> just a quick one... is it possible to access the "settings" object of
> the cocoon spring configurator (to get the supposed cache dir) within
> the sitemap ? or do I have to write my own input module in order to get
> that running?
> 
There is already the SettingsInputModule which should be configured as
"global". The key for the cache dir should be
"org.apache.cocoon.cache.directory", so
"global:org.apache.cocoon.cache.directory" should refer to the value.

HTH
Carsten
-- 
Carsten Ziegeler
cziegeler@apache.org

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


Mime
View raw message