aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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";
}