From 247bd0b56dab1ed2734760d74ef96aa6378ce72d Mon Sep 17 00:00:00 2001 From: rpiazzi Date: Fri, 23 Sep 2011 14:56:29 +0000 Subject: 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 --- .../main/java/at/gv/egiz/pdfas/web/session/SessionAttributes.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pdf-as-web/src/main/java/at/gv') 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"; } -- cgit v1.2.3