RadioButtonGroup Process Value Change Problem

I have a RadioButtonGroup component with the "Auto-Submit on Change" turned on. This RadioButtonGroup has a default selection. And I have it setup with a value change listener.

It all works fine, except for the default selection. If I select any other value, my listener gets called. When I select the original default selection, my listener never gets called! I have changed the default selection and the problems follows. The value change listener never gets called for the original default selected value.

Thanks,

Dan

[545 byte] By [k6det6a] at [2007-11-27 0:53:06]
# 1

I have seen this issue with a dropdownlist before, I set its autosubmitonchange to true, then in code set a default value for the dropdown when it comes up.

Now when user changes value to any value other than the default valuechange is called, but when the change is to the default value it doesnt get called.

Not sure if this is a known bug. What i did as a workaround is to have a button next to it , so user can click the button to notify change.

Thanks

K

kish@suna at 2007-7-11 23:24:50 > top of Java-index,Development Tools,Java Tools...
# 2
I have a slightly better work around. I set the default in the constructor or init method for the page and now my value change listener always gets called.Dan
k6det6a at 2007-7-11 23:24:50 > top of Java-index,Development Tools,Java Tools...