|
I'm in for comments on how the "locale" attribute
would fit in best with the rest; for me, this works ideal;
I have a javax.servlet.Filter active that ensures
that the sessionAttribute that
"org.apache.struts.Globals.LOCALE_KEY"
points to is filled with either the
first-request-in-session-Locale or the Locale that is actively requested by the
user
(also by means of
this filter).
then I fill in this attribute for all tables that I
want displayed using this specific Locale.
the code I added was specifically written to ensure
backward compatibility.
Dennis
p.s. As mentioned in another email to the
displaytag-user list by Matt Raible the currently best way to
override
the default locale is by adding <setProperty>
tags. My code was specifically written to overcome this
"short-coming"
(if I am allowed to name it as such)
----- Original Message -----
|

