posted 12 years ago
Hi there again,
I have tried to find a nice way to bind the selection outcome of a set of radiobuttons (single selection) in order to reflect the selection of an item in an enumeration, such as if it was a combobox, but haven't found anything promising in the internet and my knowledge in beanbindings is not that much yet. I can think of two workarounds, one of which would be writting a custom converter (always better than handling the value manually through selection listeners!!!) for the binding. However I find this solution a bit dirty. I am sure someone might have figured out much a neater solution. This shouldn't be so difficult.
Another solution I figure out right now, could be creating a subclass of the binding group and enable a value member which could be bound to the binding.
Any further ideas?
Regards and many thanks in advance for your help.
Carlos.