aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web/src/main/java/at/gv/egiz
diff options
context:
space:
mode:
authorrpiazzi <rpiazzi@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2011-09-23 14:56:29 +0000
committerrpiazzi <rpiazzi@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2011-09-23 14:56:29 +0000
commit247bd0b56dab1ed2734760d74ef96aa6378ce72d (patch)
tree00e0e7690b51c2ad3f783d1573b4677cae0a6b19 /pdf-as-web/src/main/java/at/gv/egiz
parent5993675e1fc7507c3b36d73707e7ecfca64588be (diff)
downloadpdf-as-3-247bd0b56dab1ed2734760d74ef96aa6378ce72d.tar.gz
pdf-as-3-247bd0b56dab1ed2734760d74ef96aa6378ce72d.tar.bz2
pdf-as-3-247bd0b56dab1ed2734760d74ef96aa6378ce72d.zip
Attribute LANGUAGE added to know the language of the page.
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@808 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'pdf-as-web/src/main/java/at/gv/egiz')
-rw-r--r--pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/session/SessionAttributes.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/session/SessionAttributes.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/session/SessionAttributes.java
index deafa16..076688a 100644
--- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/session/SessionAttributes.java
+++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/session/SessionAttributes.java
@@ -67,4 +67,10 @@ public abstract class SessionAttributes
*/
public static final String PARENT_WEBAPP_REDIRECT_URL = "java.lang.String:parentWebAppRedirectURL";
+ /**
+ * Added by rpiazzi. Language is written into session because it can not be changed during signature
+ * process and has to be available for the page to know which language to use
+ * An attribute to know which language to use
+ */
+ public static final String LANGUAGE = "java.lang.String:language";
}