Are you using RedirectResolution to forward?

The Locale picking is happening in a filter. You have to restart the
filtering process. If you're not using RedirectResolution the Locale filter
part is never hit.


Regards

Morten Matras
CEO: LeadDoubler.com
Denmark

2012/10/8 Aaron Stromas <[email protected]>

> Hi,
>
> I have a requirement to be able to change the locale by selecting a
> language from a drop-down on the page. The page needs to be re-rendered
> using the newly selected locale. I'm using a custom LocalePicker that reads
> the locale from the session and I have the interceptor that detects locale
> and sets the new locale in the session and returns the Resolution to
> itself. The trouble is that the LocalePicker.pickLocale method is never
> called and the page is re-rendered in the original locale.
> How can I get the LocalePicked.pickLocale to execute before the page is
> rendered? TIA,
>
> --
> Aaron Stromas
> Mobile: +1 240 271 6458
>
>
>
> ------------------------------------------------------------------------------
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev
> _______________________________________________
> Stripes-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
>


-- 

Morten Matras
CEO, Author and IT-guru
Phone: +45 61 71 11 03
Skype: mortena
*https://twitter.com/#!/mortenmatras*
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to