aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrpiazzi <rpiazzi@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2011-09-23 15:15:49 +0000
committerrpiazzi <rpiazzi@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2011-09-23 15:15:49 +0000
commit988288248fd01ab1c97df96d079f715661494a85 (patch)
tree852fbf93f7a4991f2ec8ba61231ea8dcab589897
parent9968d4b91ef653a69a32d2485ef600572247bd3b (diff)
downloadpdf-as-3-988288248fd01ab1c97df96d079f715661494a85.tar.gz
pdf-as-3-988288248fd01ab1c97df96d079f715661494a85.tar.bz2
pdf-as-3-988288248fd01ab1c97df96d079f715661494a85.zip
Two decorator patterns where inserted instead of one to distinguish between the two languages. Each pattern relates to the same page but with a different language parameter added to the URL.
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@825 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
-rw-r--r--pdf-as-web/src/main/webapp/WEB-INF/decorators.xml12
1 files changed, 3 insertions, 9 deletions
diff --git a/pdf-as-web/src/main/webapp/WEB-INF/decorators.xml b/pdf-as-web/src/main/webapp/WEB-INF/decorators.xml
index a88892d..6585f97 100644
--- a/pdf-as-web/src/main/webapp/WEB-INF/decorators.xml
+++ b/pdf-as-web/src/main/webapp/WEB-INF/decorators.xml
@@ -1,16 +1,10 @@
<decorators>
-
<excludes>
- <pattern>/bku-erkennung/*</pattern>
- <pattern>/jsp/please_wait.jsp</pattern>
<pattern>/css/*</pattern>
<pattern>/img/*</pattern>
<pattern>*.pdf</pattern>
<pattern>/*.pdf</pattern>
</excludes>
-
- <decorator name="standalone" page="/sitemesh/standalone.jsp">
- <pattern>/*</pattern>
- </decorator>
-
-</decorators>
+ <decorator name="production_de" page="/sitemesh/standalone.jsp?lang=de"/>
+ <decorator name="production_en" page="/sitemesh/standalone.jsp?lang=en"/>
+</decorators> \ No newline at end of file