0

Ad-Hoc i3-label.properties session scope

asked 2009-10-23 08:25:01 +0800

agharta82 gravatar image agharta82
36

Hi all!
A rapid question: is possible to specify the i3-label.properties per session?

Example:
session 1: /WEB-INF/i3-label.properties
session 2: /WEB-INF/i3-label_SESSION_2.properties
session 3: /WEB-INF/i3-label_SESSION_3.properties
session 4: /WEB-INF/i3-label.properties

etc.....

In other words, could i specify a language properties per access on application???

I've tired with org.zkoss.lang.Library.setProperty("org.zkoss.util.label.web.location", "/WEB_INF/my_file.properties") and resetting the labels with Labels.reset() , but none.

The idea is like themes, font size and other per-session personalizations.


Regards,

Agharta

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2009-11-05 06:54:36 +0800

samchuang gravatar image samchuang
4084 4

Please refer to this

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2009-10-23 08:25:01 +0800

Seen: 433 times

Last updated: Nov 05 '09

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More