// For future i18n purpose
    private String translate(String name) {
String i18Name = LocalizedTextUtil.findDefaultText(name, locale); if (i18Name == null) {
            i18Name = name;
        }
return i18Name;
    }

Grish escribió:
I'm studying how interceptors work and made a login interceptor based on Mark
Menard's great tutorial:
http://www.vitarara.org/cms/struts_2_cookbook/creating_a_login_interceptor

I managed to integrate the interceptor in my sample application but I want
to access my resource bundle for the localized error message. Is there a
method similar to the getText method for Interceptors? What would be  the
best approach for adding localized action error messages from an
interceptor?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to