cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geoff Howard" <coc...@leverageweb.com>
Subject current status of global input module / variables
Date Wed, 18 Dec 2002 23:32:08 GMT
Briefly if need be, what is the current status of this concept:

<map:component-configurations>
  <global-variables>
     <skin>cocoon</skin>
  </global-variables>
</map:component-configurations>

as discussed a few months ago?  I haven't been getting it to work.  Is it
abandoned?

My use case:
I have several domains virtual hosted on my one cocoon instance and plan on
more.  They are mounted off the root sitemap by means of a host matcher.  As
a pre-blocks way of sharing some common behaviours i am experimenting with
mounting from each of those back to a directory at the context root:

in mounted sub-sitemap:
<map:match pattern="admin/content/edit/**">
   <map:mount check-reload="yes" src="../edit/"
uri-prefix="admin/content/edit"/>
</map:match>

(side note: I wanted to use context:/edit instead of ../edit but couldn't
get it to work - any idea why?)

so that http://host1.com/admin/content/edit/ is handled by the same sitemap
as http://host2.com/admin/content/edit/.

It works, but now need to make some references back to resources relative to
the host-specific mounting sitemap, and that's where I hoped to have those
global input module values assigned in the sitemap.

Thanks,
Geoff Howard


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


Mime
View raw message