ok, i will have a closer look.

2010/11/10 Moritz Gmelin <moritz.gme...@gmx.de>

> Something like this.
>
>                        @Inject
>                        private PersistentLocale persistentLocale;
>
>
>                        Locale loc = new Locale("de", "DE");
>                        persistentLocale.set(loc);
>
>
>                        Link link =
> linkSource.createPageRenderLink(Start.class);
>                        request.getResponse().sendRedirect(link);
>
>
>
> Am 10.11.2010 um 09:58 schrieb Christophe Cordenier:
>
> > How do you build the redirect URL ?
> >
> > 2010/11/10 Moritz Gmelin <moritz.gme...@gmx.de>
> >
> >> Hi,
> >>
> >> the supported Locales do contain de, de_DE, de_CH, fr_CH, etc.
> >>
> >> M.
> >>
> >> Am 10.11.2010 um 09:33 schrieb Christophe Cordenier:
> >>
> >>> Hi
> >>>
> >>> How is configured your supported locales ?
> >>>
> >>> 2010/11/9 Moritz Gmelin <moritz.gme...@gmx.de>
> >>>
> >>>> Hi,
> >>>>
> >>>> I have just done the upgrade of out application to T5.2.2. We have so
> >> far
> >>>> had a system to redirect a user to a localized start page depending on
> >> his
> >>>> locale settings. So far those locale settings could contain language
> and
> >>>> country. So a german user was re-directed to context/de_DE/startpage.
> A
> >>>> swiss user could get redirected to de_CH or fr_CH (or it_CH).
> >>>> Since 5.2.2, T5.2.2 does not accept those paths containing the country
> >>>> anymore. Only language paths (context/de/startpage) URLs are accepted.
> >>>> Everything else gets redirected to the default start page.
> >>>> Why is that? How can I now differentiate country specifics for
> >>>> localization?
> >>>>
> >>>> Regards
> >>>>
> >>>> Moritz
> >>>> ---------------------------------------------------------------------
> >>>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> >>>> For additional commands, e-mail: users-h...@tapestry.apache.org
> >>>>
> >>>>
> >>>
> >>>
> >>> --
> >>> Regards,
> >>> Christophe Cordenier.
> >>>
> >>> Committer on Apache Tapestry 5
> >>> Co-creator of wooki @wookicentral.com
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> >> For additional commands, e-mail: users-h...@tapestry.apache.org
> >>
> >>
> >
> >
> > --
> > Regards,
> > Christophe Cordenier.
> >
> > Committer on Apache Tapestry 5
> > Co-creator of wooki @wookicentral.com
>
>


-- 
Regards,
Christophe Cordenier.

Committer on Apache Tapestry 5
Co-creator of wooki @wookicentral.com

Reply via email to