You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by jo...@apache.org on 2006/03/10 11:34:44 UTC
svn commit: r384757 -
/lenya/trunk/src/webapp/lenya/content/exception/missing-language.xsp
Author: josias
Date: Fri Mar 10 02:34:42 2006
New Revision: 384757
URL: http://svn.apache.org/viewcvs?rev=384757&view=rev
Log:
fixed missing language screen
Modified:
lenya/trunk/src/webapp/lenya/content/exception/missing-language.xsp
Modified: lenya/trunk/src/webapp/lenya/content/exception/missing-language.xsp
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/content/exception/missing-language.xsp?rev=384757&r1=384756&r2=384757&view=diff
==============================================================================
--- lenya/trunk/src/webapp/lenya/content/exception/missing-language.xsp (original)
+++ lenya/trunk/src/webapp/lenya/content/exception/missing-language.xsp Fri Mar 10 02:34:42 2006
@@ -27,6 +27,7 @@
<xsp:include>org.apache.lenya.cms.publication.Document</xsp:include>
<xsp:include>org.apache.lenya.cms.publication.DocumentException</xsp:include>
<xsp:include>org.apache.lenya.cms.publication.util.DocumentLanguagesHelper</xsp:include>
+ <xsp:include>org.apache.avalon.framework.service.WrapperServiceManager</xsp:include>
</xsp:structure>
<missing-language>
@@ -35,7 +36,7 @@
<available-languages>
<xsp:logic>
Document doc = (Document) <input:get-attribute module="page-envelope" as="object" name="document"/>;
- DocumentLanguagesHelper helper = new DocumentLanguagesHelper(doc.getIdentityMap(), objectModel);
+ DocumentLanguagesHelper helper = new DocumentLanguagesHelper(doc.getIdentityMap(), objectModel, new WrapperServiceManager(this.manager));
try {
String[] availableLanguages = doc.getLanguages();
String language = null;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org