Re: [S2] s:text after locale change displays old locale values?

2008-02-23 Thread Rubens
Okay, problem solved. We must "redirect" to an action that maps to a JSP. If one "redirects" to a JSP, the will not render the correct locale -- that is how it works on 2.0.11. Example: /jsp/index.jsp /index.action newton.dave w

Re: [S2] s:text after locale change displays old locale values?

2008-02-23 Thread Dave Newton
--- Rubens <[EMAIL PROTECTED]> wrote: > Why? How do I fix this problem? I need to use "redirect" to completely > refresh the page. And I am redirecting to a JSP page. Should I redirect > to another action ?? (it would seem to be a waste and confusing to add > another action just to be able to

Re: [S2] s:text after locale change displays old locale values?

2008-02-23 Thread Rubens
I am not using the under any action. Remember, the change locale action returns a "redirect" result to a JSP page. So the browser sends a new request for a JSP page after the result is returned. One note: if I return a "dispatcher" result from that change locale action, then renders the page

Re: [S2] s:text after locale change displays old locale values?

2008-02-23 Thread Dave Newton
I've never been entirely clear on all the places that affect I18N, but does the action under which you're using the tag extend ActionSupport (which implements TextProvider)? Dave --- Rubens <[EMAIL PROTECTED]> wrote: > struts.xml has this: > > name="struts.custom.i18n.resources" >

Re: [S2] s:text after locale change displays old locale values?

2008-02-23 Thread Rubens
struts.xml has this: I have resources.properties and resources_pt.properties deployed in the WEB-INF classpath area. In fact, the text rendered by is from resources.properties even when the Locale is "pt". Laurie Harper wrote: > > Rubens wrote: >> I am changing locale from an Action, t

Re: [S2] s:text after locale change displays old locale values?

2008-02-23 Thread Laurie Harper
Rubens wrote: I am changing locale from an Action, then returning a "redirect" result to refresh the page. However, the new locale is not being fetched into the tags. insists in fetching messages from the old locale. I already checked to make sure I have the resource bundles files in the cla

[S2] s:text after locale change displays old locale values?

2008-02-23 Thread Rubens
I am changing locale from an Action, then returning a "redirect" result to refresh the page. However, the new locale is not being fetched into the tags. insists in fetching messages from the old locale. I already checked to make sure I have the resource bundles files in the classpath. And al