cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robby Pelssers" <>
Subject Is it possible to use a spring bean directly in the sitemap?
Date Tue, 19 May 2009 11:47:45 GMT
Hi all,


Suppose I have configured a bean:


            <bean id="com.mycompany.repository"

              <property name="repositoryDir"
value="${repository.repositoryDir}" />

              <property name="xmlDir"                value="${
repository.xmlDir}" />

              <property name="imagesDir"           value="${
repository.imagesDir}" />



Is there a way so I could use this bean in the sitemap.  I would like to
be able to do something like:


<map:match pattern="test">


  <map:serialize type="xml"/>



Thx in advance,


View raw message