Alternatively you could use:
Maurizio Cucchiara
2010/10/7 Daniel Rindt :
> Am Mittwoch, den 06.10.2010, 21:39 +0200 schrieb Maurizio Cucchiara:
>> gender.add(getText("user.gender.female"));
>> gender.add(getText("user.gender.male"));
> you ever tried that? I used it in the prepare method, and
Am Mittwoch, den 06.10.2010, 21:39 +0200 schrieb Maurizio Cucchiara:
> gender.add(getText("user.gender.female"));
> gender.add(getText("user.gender.male"));
you ever tried that? I used it in the prepare method, and i don't know
why but at lot of page request the getText is returning the wrong
tran
Why don't you simply move your translation process in this manner:
gender.add(getText("user.gender.female"));
gender.add(getText("user.gender.male"));
Maurizio Cucchiara
2010/10/6 Daniel Rindt :
> Hello,
>
> i would like to display in a multi language page a select field where
> you choose your
Hello,
i would like to display in a multi language page a select field where
you choose your gender.
in my action i define the list with the translation keys:
gender = new HashMap();
gender.put(0, "user.gender.female");
gender.put(1, "user.gender.male");
the jsp contains:
the dropdown field is
4 matches
Mail list logo