cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Haul <h...@dvs1.informatik.tu-darmstadt.de>
Subject Re: how to use Input Modules ?
Date Mon, 07 Oct 2002 12:17:59 GMT
On 07.Oct.2002 -- 04:03 PM, Piroumian Konstantin wrote:
> First of all I should warn you to be careful with InputModules until some
> oficial release, cause they are actively discussed right now at the dev list
> and they can be changed (names, behavior, interfaces). You have been warned.
> 
> To use the DefaultsMetaModule you should tweak your cocoon.xconf where the
> module is declared and add the values you need (just like the 'defaultSkin'
> and 'base-uri' values are declared) and then simply use it like this in your
> sitemap:
> 
> <map:transform src="skins/{defaults:skin}/style.xsl" />
> 
> Change {defaults:skin} to {defaults:yourVariableName}.

I should add that it does make sense to have your own instance for
that. Just copy the declaration and use a different name for your
instance.

	Chris.
-- 
C h r i s t i a n       H a u l
haul@informatik.tu-darmstadt.de
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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


Mime
View raw message