Doug Chestnut wrote:
Michael Wechner wrote:
sure we could use fallback:// or context:// but it seems to me naming
is very important. For instance what does fallback mean? Fallback
to the parent publication, to the core, ...?
fallback to the parent pub, if resource isn't present there, fallback to
its parent pub, ..., fallback to the lenya core (as I understand how
it's supposed to work).
Yes:
<quote>
When a file is requested using the templating mechanism
(fallback://xslt/page2xhtml.xsl), it is searched in a certain traversing order:
1. context://lenya/pubs/my-pub/xslt/page2xhtml.xsl
2. context://lenya/pubs/template(my-pub)/xslt/page2xhtml.xsl
3. context://lenya/pubs/template(template(my-pub))/xslt/page2xhtml.xsl
4. ...
5. context://xslt/page2xhtml.xsl
</quote>
(http://lenya.apache.org/1_4/reference/publication-templating/index.html)
So I think for instance
lenya-core-fallback://
or lenya-core://
I do like the name lenya-core better than context. I have never used
context:// and didn't have a clue of what it did (never looked in the
documentation for it),
http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/components/source/impl/ContextSourceFactory.html
Not that much either ... :)
but lenya-core:// might be a little more self
explanatory ;).
OK, that's true.
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]