Re: RadioChoice showing last choosen value - what am i doing wrong

2009-10-13 Thread Muro Copenhagen
Hi Igor, The code did not work with even though the component was enabled. The equals and hashcode methods are implemented for the LabelValue. But instead of using my own Model implementation and managing the dynamic behaviour, i added a PropertyModel to the RadioChoice, and now it works

RadioChoice showing last choosen value - what am i doing wrong

2009-10-12 Thread Muro Copenhagen
Hi, Any help on this issue regarding the RadioChoice component will be appreciated. I'm having difficiltius showing the (previously) selected RadioChoice, and can not figure out what's going wrong. Here is my code: public class QuestionRightPanel extends Panel { private String

Re: RadioChoice showing last choosen value - what am i doing wrong

2009-10-12 Thread Igor Vaynberg
does that code work if the component is not disabled? does LabelValue have equals/hashcode properly implemented so the one you push with setmodelobject will match one in the yesNoChoices collection? -igor On Mon, Oct 12, 2009 at 6:40 AM, Muro Copenhagen copenha...@gmail.com wrote: Hi, Any