struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Amadei" <>
Subject Re: binding select value to a Java 5 enum
Date Thu, 08 Feb 2007 02:33:28 GMT
Hi All,

Per my message above I was able to set value for an Enum which is a
property of my action using a converter as in the showcase example,
but I was not able to set the enum to a nested, when the enum never
gets called.

My structure is similar to:

person.gender (where gender is an enum)

My conversion file is like this:


This way, the property person.gender is always null. Can somebody help me?

2007/2/7, Daniel Amadei <>:
> Hi All,
> I`m trying to bind the value of a select to an enum but I`m getting
> the following error:
> Invalid field value for field
> Does anybody knows how can I set the value to be the enum type?
> Thanks,
> Daniel

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message