cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <>
Subject Re: Need hot deployed blocks in 2.1
Date Fri, 09 Jul 2004 21:13:44 GMT
Hunsberger, Peter wrote:

>Sylvain Wallez <> writes:


>>> <>2) someway to reconfigure the Cocoon sitemap to move the location 
>>> of a sub-sitemap dynamically.
>>Can you write an input module that gets the deployment information from jboss, i.e.
>>   <map:mount src="{jboss-deployment:myapp}/" uri-prefix="my-app"/>
>The Mbean could build a static pointer to the info passed over from
>JBoss and this could be picked up from an input module -- that sounds
>pretty simple.  The issue then is, would this then be resolved
>dynamically by the sitemap processor each time the map:mount is
>encountered (or just when the site map is first loaded)?  If it's each
>time (and I think it is), then yes, this would do what I need.

Expressions in <map:mount> are evaluated at each execution of the 
statement just like in any other statement. So yes, this should work.

>>Just throwing in some random thoughts...
>Many thanks, these are exactly the kind of ideas I'm looking for. 

You're welcome :-)


Sylvain Wallez                                  Anyware Technologies 
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }

View raw message