RE: [BeanUtils] Need a type conversion hook

2001-05-15 Thread Michael Hackett
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] Need a type conversion hook

2001-05-11 Thread Dmitri Plotnikov
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

Re: [BeanUtils] Need a type conversion hook

2001-05-11 Thread Craig R. McClanahan
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