Hi all
i have the following use case.
i have a bean whose setter accepts a Collection of <MyEnum>
Code:MyEnum { VALUE1, VALUE2, VALUE3 }the allowed MyEnums are defined in a property fileCode:setAllowedMyEnum(Collection<MyEnum> enums)
btw, the value1, value2 aboCode:allowed.myEnum=VALUE1,VALUE2
How do i go from reading a comma separated enum values to setting a property in my bean?
thanks and regards
marco


Reply With Quote