cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Fagnani-Bell <jus...@paraliansoftware.com>
Subject Can a Generator set a sitemap param?
Date Wed, 31 Jul 2002 00:40:11 GMT
Hi List,

Is it possible for a Generator to set sitemap parameters? I have a 
Generator that's pulling content from a database and applying a theme, 
the settings for the themes are also stored in the database. The themes 
are .xsl files and I'd like to be able to set a parameter with the name 
of the file.

It seems like I could alter the Parameters object passed to setup(). But 
I'm guessing that either this wouldn't work or would be seriously 
frowned upon...

The reason I don't really want to write an action is that I don't see 
that it really performs an action. The generator based on it's queries 
knows which stylesheet to select, I don't really want to perform the 
query twice.

If writing an action is really the proper way to do it, I can be talked 
into it...

Thanks,
   Justin


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


Mime
View raw message