I'm using abeille forms and bindings from spring-richclient-suuport to make a form
I have a form with three radiobuttons in a single radio group button
("BLUE","RED", GREEN") I have to choose one of them
I want to use the binding from spring but if I do
I getCode:getBindingFactory().bindControl(accessor.getRadioButton("RED"), "color");
color is referencing to the class ColorsQuote:
java.lang.IllegalArgumentException: No converter registered to convert from sourceClass 'class com.Colors' to target class 'class java.lang.Boolean
accessor.getRadioButton("RED") is refering to a JRadioButton
Colors is
I know that if I'm using Boolean for each radio button, it will work but is there any solution more efficient ?Code:public enum Colors{
RED,
BLUE,
GREEN
}
Thanks for your help
