hi,

i'm quite new to tapestry. until now, everything just worked fine, but
localization does not. following code does not work for me

public class ChooseLanguage {
        @Inject
        private PersistentLocale persistentLocale;
        
        void onActionFromDe() {
                persistentLocale.set(Locale.GERMAN);
        }
        
        void onActionFromEn() {
                persistentLocale.set(Locale.ENGLISH);
        }
}

the tml file looks like 

<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_1_0.xsd";>
        <body>
                <t:actionLink t:id="de">German</t:actionLink> | 
                <t:actionLink t:id="en">English</t:actionLink> | 
        </body>
</html>

en and de have been set in the configuration. the english version just works
fine. as soon as I click the german link, I'm redirected to the index page.

tried it with tapestry 5.2.0-SNAPSHOT and 5.1.0.5.

can anyone help?

thanks
jimmyblue
-- 
View this message in context: 
http://www.nabble.com/t5-localization-tp25729423p25729423.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to