Here's my specific problem. I am using an Enum
framework that gives me very nice, fully automatic
support for Enum types like Gender{Male, Female}. It
is internationalized, easy to use etc. Each enum type
is represented by its own class, like
com.plotix.enums.Gender.
Hi Dmitri,
This Enum
BeanUtils are fantastic. There is just one minor issue
I have with them. There are no hooks for me to
augment their behavoir.
Here's my specific problem. I am using an Enum
framework that gives me very nice, fully automatic
support for Enum types like Gender{Male, Female}. It
is
Hi Dmitri,
No, I don't think that your problem is unique -- but it's definitely one I
haven't had time to think much about in a Struts 1.0 time frame.
In addition to the two alternatives you have proposed, the JavaBeans spec
provides a standard API for doing custom type conversions -- the