Jörn Nettingsmeier wrote:
Andreas Hartmann wrote:
Jürgen Ragaller wrote:
... got my xslt together!
A followup question: In the java comment of the
PageEnvelopeModule.java it says:
@deprecated use DocumentInfoModule instead.
I have plenty of {page-envelope:bar} variables in the sitemap... I
guess I should rather use the DocumentInfoModule variables if available?
Yes, but this is not a pressing issue.
The page envelope module is especially error-prone when used in modules
(commonly used pipelines).
If you're interested in the reasons, you might want to search the dev
list.
the short answer is that: using {page-envelope:*} is very concise and
neat *as long as you're dealing with the currently requested document
only*.
The problem is that the page envelope input module mixes concerns:
It provides information about a document, and it allows to determine
the currently requested document. IMO the second function is
appropriate for the page envelope, but the first one is better dealt
with using the DocumentInfoModule.
[...]
andreas, we really need more detailed info about this in the "custom
doctypes" documentation. i think i can say that i've been digging around
quite a bit in lenya lately. still i totally failed to notice that
DocumentInfoModule exists...
Patches are always welcome :)
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]