Re: Question about the use of enumerated types in struts

2001-08-27 Thread John Raley
This problem comes up with Date fields every now and then. Basically you have two properties: one with type String and one with type WidthType. The String property is backed by a WidthType (i.e. there's no String inside the form object - getWidthAsString() converts the WidthType on the fly,

Question about the use of enumerated types in struts

2001-08-27 Thread Weber, Neil
Is there an intended usage model in struts for C++-like enumerated type classes ala LabelValueBean? Read no further if you understand the question. In the application I'm working on I have several C++-like enumerated type classes. For example, I have one class called WidthType for which there a