cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geoff Howard" <coc...@leverageweb.com>
Subject RE: current status of global input module / variables
Date Wed, 18 Dec 2002 23:57:04 GMT
Update: It works fine.  I had to try so many different variations on the
configuration first that I had gotten turned around.

I'd volunteer to submit a snippet or wiki entry on this, but wasn't sure
this feature/syntax was going to last based on the discussions from october.
Anyone have a problem with making this more visible?

Geoff

> -----Original Message-----
> From: Geoff Howard [mailto:cocoon@leverageweb.com]
> Sent: Wednesday, December 18, 2002 6:32 PM
> To: cocoon-dev@xml.apache.org
> Subject: current status of global input module / variables
>
>
> 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
>
>
>


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


Mime
View raw message