cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stuart Roebuck <stuart.roeb...@adolos.co.uk>
Subject Re: [Proposal] Sitemap parameters
Date Wed, 29 May 2002 10:49:20 GMT

On Wednesday, May 29, 2002, at 10:17 AM, Konstantin Piroumian wrote:

> I've seen that discussion, but had problems with mail server and 
> couldn't
> join to it.
>
> My proposal is a little different. While input modules provide a way to
> _get_ variable values from different sources (sitemap, request, etc.), 
> my
> need is to _set_ global parameters for the sitemap to avoid things like
> @skin@ in matcher patterns, etc. Of course these params can be used as
> "sitemap:param-name" everywhere when needed. The above example would 
> look
> like:
>
> <map:transform src="skins/{sitemap:skin}/xslt/html/{type}.xsl">.
>
> Behavior can be the same as for the XSLT params: if a value is specified
> externally (from command line or request params) then it's used, 
> otherwise
> the default value is used that is specified in declaration of the 
> parameter:
>
> <map:parameter name="skin" value="forrest-skin" />

Just to say that this kind of functionality would be *really* useful.

Stuart.


            Public Key - 1024D/88DD65AF 2001-11-23 Stuart Roebuck (Adolos)
      Key fingerprint = 89D9 E405 F8B1 9B22 0FA2  F2C1 9E57 5AB1 88DD 65AF
-------------------------------------------------------------------------
Stuart Roebuck                                  stuart.roebuck@adolos.com
Systems Architect                             Java, XML, MacOS X, XP, 
etc.
ADOLOS                                           <http://www.adolos.com/>


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


Mime
View raw message