Ok, say I have a Label and a ListBox in UiBinder
<g:Label ui:field="countryLabel" /> <g:ListBox ui:field='countryListBox' visibleItemCount='1' /> In MyConstants.properties file country=Country england=England america=America japan=Japan .... in Presenter or View countryLabel.setText(myConstants.country()); This is so easy for Label since we only need to set Text 1 time but it will be very time consuming if we do the ListBox countryListBox.addItem(myConstants.england()); countryListBox.addItem(myConstants.america()); etc... there will have 200 countries out there So my question is, is there any quicker way to effectively add Constants values into a ListBox in GWT? http://stackoverflow.com/questions/26074732/how-to-effectively-add-constants-values-into-a-listbox-in-gwt -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
