I use several listboxes with a numeric key and a text as the value. I need to internationalize the text. I don't know if there is a way to code that in a property file. I tried the following but all the maps are all mapped with the last values at runtime.
Application.properties 1 = concert 2 = parade EVENTTYPES = 1, 2 1 = entertainment 2 = sports 3 = arts 4 = services CATEGORIES = 1, 2, 3, 4 Application.java Map EVENTTYPES(); Map CATEGORIES(); Runtime: [INFO] Event types Key: 1 value: entertainment // Should be "concert" [INFO] Event types Key: 2 value: sports // Should be "parade [INFO] Categories Key: 1 value: entertainment [INFO] Categories Key: 2 value: sports [INFO] Categories Key: 3 value: arts [INFO] Categories Key: 4 value: services Use: Map<String, String> eventtypes = StringManager.Constants().EVENTTYPES(); Map<String, String> categories = StringManager.Constants().CATEGORIES(); I don't know if there is a way to do that in a properties file. Thanks Fred --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
