Thanks Thiago, it is working now. Here is what I did:
------------------ Page.java: ------------------ @Property private Country country; @Property @SuppressWarnings("unused") private SelectModel countryModel; private Country[] getSortedCountries() { SortedMap<String, Country> map = new TreeMap<String, Country>(); for (Country c : Country.values()) { map.put(messages.get("country."+c),c); } return map.values().toArray(new Country[map.values().size()]); } public void onPrepare() { countryModel = new EnumSelectModel(Country.class, messages, getSortedCountries()); } ------------------ Page.tml: ------------------ <t:select t:id="country" t:model="countryModel" blankOption="always"/> -- View this message in context: http://tapestry.1045711.n5.nabble.com/Select-component-and-sorting-order-tp5714478p5714565.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