I've got a series of 4 RadioButton objects that control the display of
panels within a deck. Works fine within hosted mode and under IE.
However, under Firefox, it works, i.e. the panels are displayed based
on the Radio Button selected, the prior RadioButton instance is not
'de-selected'. Anyone ever run into this - my code is below?
Thanks!
public class ListeningRadioButton extends RadioButton {
private DeckPanel deckPanel;
private int deckIndex;
> I've got a series of 4 RadioButton objects that control the display of
> panels within a deck. Works fine within hosted mode and under IE.
> However, under Firefox, it works, i.e. the panels are displayed based
> on the Radio Button selected, the prior RadioButton instance is not
> 'de-selected'. Anyone ever run into this - my code is below?
> Thanks!
> public class ListeningRadioButton extends RadioButton {
> private DeckPanel deckPanel;
> private int deckIndex;
The behavior you are describing sounds like each radio button is in its own group.
I think the problem is simply that 'setName()' changes the radio button group. In your constructor for ListeningRadioButton() you construct what appears to be a unique name for each button.
> regards, > Peter > On Nov 27, 1:27 pm, dbexternal <dennis.bec...@gmail.com> wrote: > > I've got a series of 4 RadioButton objects that control the display of > > panels within a deck. Works fine within hosted mode and under IE. > > However, under Firefox, it works, i.e. the panels are displayed based > > on the Radio Button selected, the prior RadioButton instance is not > > 'de-selected'. Anyone ever run into this - my code is below?
> > Thanks!
> > public class ListeningRadioButton extends RadioButton {
> > private DeckPanel deckPanel; > > private int deckIndex;