[UPDATE]
In der Klasse ccm-cms-types-xmlfeed/src/com/arsdigita/cms/contenttypes/xmlfeed/listener/RetrieveListener.java die FormProcessException in der Zeile 248 umgebaut und den key cannot_load_xsl_transformer den Properties hinzugefügt. git-svn-id: https://svn.libreccm.org/ccm/trunk@3253 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
b7e7ef551d
commit
848a24588b
|
|
@ -12,4 +12,5 @@ xmlfeed.authoring.query_form.description=The form that supplies the query fields
|
||||||
cms.contenttypes.ui.xmlfeed.xsl_file_type_error=File is not the correct type.
|
cms.contenttypes.ui.xmlfeed.xsl_file_type_error=File is not the correct type.
|
||||||
cms.contenttypes.ui.xmlfeed.xsl_file_validation_error=Cannot verify the file is valid, please try again.
|
cms.contenttypes.ui.xmlfeed.xsl_file_validation_error=Cannot verify the file is valid, please try again.
|
||||||
cms.contenttypes.xmlfeed.xmlfeed.type_label=XML Feed
|
cms.contenttypes.xmlfeed.xmlfeed.type_label=XML Feed
|
||||||
cms.contenttypes.xmlfeed.ui.cannot_load_xsl_file=Cannot load XSL file
|
cms.contenttypes.xmlfeed.ui.cannot_create_xsl_file=Cannot load XSL file
|
||||||
|
cms.contenttypes.xmlfeed.listener.cannot_load_xsl_transformer=Cannot create XSL transformer
|
||||||
|
|
|
||||||
|
|
@ -12,4 +12,5 @@ xmlfeed.authoring.query_form.description=Das Formular, das die Eingabefelder f\u
|
||||||
cms.contenttypes.ui.xmlfeed.xsl_file_type_error=Der Dateityp ist falsch.
|
cms.contenttypes.ui.xmlfeed.xsl_file_type_error=Der Dateityp ist falsch.
|
||||||
cms.contenttypes.ui.xmlfeed.xsl_file_validation_error=Dateityp kann nicht best\u00e4tigt werden, bitte erneut probieren.
|
cms.contenttypes.ui.xmlfeed.xsl_file_validation_error=Dateityp kann nicht best\u00e4tigt werden, bitte erneut probieren.
|
||||||
cms.contenttypes.xmlfeed.xmlfeed.type_label=XML Feed
|
cms.contenttypes.xmlfeed.xmlfeed.type_label=XML Feed
|
||||||
cms.contenttypes.xmlfeed.ui.cannot_load_xsl_file=XSL Datei kann nicht geladen werden
|
cms.contenttypes.xmlfeed.ui.cannot_create_xsl_file=XSL Datei kann nicht geladen werden
|
||||||
|
cms.contenttypes.xmlfeed.listener.cannot_load_xsl_transformer=XSL Transformer konnte nicht erstellt werden
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,7 @@ import com.arsdigita.bebop.event.FormSectionEvent;
|
||||||
import com.arsdigita.web.ParameterMap;
|
import com.arsdigita.web.ParameterMap;
|
||||||
import com.arsdigita.util.UncheckedWrapperException;
|
import com.arsdigita.util.UncheckedWrapperException;
|
||||||
import com.arsdigita.cms.FileAsset;
|
import com.arsdigita.cms.FileAsset;
|
||||||
|
import com.arsdigita.cms.contenttypes.xmlfeed.util.XMLFeedGlobalizationUtil;
|
||||||
|
|
||||||
import java.io.ByteArrayInputStream;
|
import java.io.ByteArrayInputStream;
|
||||||
import java.io.ByteArrayOutputStream;
|
import java.io.ByteArrayOutputStream;
|
||||||
|
|
@ -244,7 +245,8 @@ public class RetrieveListener implements FormProcessListener{
|
||||||
return writer.toString();
|
return writer.toString();
|
||||||
}
|
}
|
||||||
catch (TransformerConfigurationException e) {
|
catch (TransformerConfigurationException e) {
|
||||||
throw new FormProcessException("Cannot create XSL transformer.", e);
|
throw new FormProcessException(XMLFeedGlobalizationUtil.globalize(
|
||||||
|
"cms.contenttypes.xmlfeed.listener.cannot_load_xsl_transformer"));
|
||||||
}
|
}
|
||||||
catch (TransformerException e) {
|
catch (TransformerException e) {
|
||||||
throw new FormProcessException("Error during XSL transform.", e);
|
throw new FormProcessException("Error during XSL transform.", e);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue