Joerg Heinicke wrote:
Hello Cyril,Indeed there is. But that get a little bit more complex since one would need to put several of them together in cocoon.xconf. I.e. (from 2.1 cocoon.xconf)
the participants.xsl can be really simple:
<xsl:stylesheet version="1.0" xmlns:xsl="..">
<xsl:include href="participantsYOURDEFAULTLANGUAGE.xsl"/>
</xsl:stylesheet>
Replacing YOURDEFAULTLANGUAGE with EN or FR you can choose the default language of the application. And the above stylesheet is really not difficult to maintain.
But maybe there is such a fallback operation in the input modules too?
<component-instance logger="core.modules.input" name="chain" class="org.apache.cocoon.components.modules.input.ChainMetaModule">
<input-module name="request-param"/>
<input-module name="request-attr"/>
<input-module name="session-attr"/>
<input-module name="defaults"/>
</component-instance>
Chris.
--
C h r i s t i a n H a u l
[EMAIL PROTECTED]
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>