Hi,

Normally, we use the resource bundles to store Strings like field labels,
error messages etc. But how about things like dropdown display values ? . I
need to i18n-ize an app that has a lot of such dropdowns and the lists are
currently referenced like <s:select name="loanType"
list="#application.dropdownmap['loanType']"/> where dropdownmap is loaded
into ServletContext from a properties file . that has definitions like :
loanType=1~Home Loan|2~Car Loan|3~Refi etc. Here, the 1,2,3 remains constant
but the display value will vary by locale.

It'll be really neat if it's possible to maintain this list in a typical
resource bundle file like ApplicationResources_<locale> and be able to use
it from s:select tags without having to do any manual parsing. Any inputs
will be really helpful.

Thanks!

Reply via email to