what does "getComboBox" accepting? an Enum value or Enum array? if an Enum value then you have to do @{include full package path}comboboxt...@sex
On Wed, Dec 23, 2009 at 12:15 AM, <mailtolouis2020-str...@yahoo.com> wrote: > Hi, > > I got problem to using ENUM type in <s:select>, here is my code: > > <s:select label="Sex" > name="user.sex" > list="getComboBox(ComboBoxType.SEX)" > listKey="key" > listValue="value" > value="user.sex"/> > > but if I change to use String (e.g: list="getComboBox('SEX')"), > and do the conversion in the action then it working fine. > > Is it a bug? > > Regards > LV