dbexternal
unread,Nov 27, 2007, 7:27:33 AM11/27/07Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Web Toolkit
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;
public ListeningRadioButton(String group, String label, DeckPanel
deck, int deckIndex) {
super(group, label);
this.deckPanel = deck;
this.deckIndex = deckIndex;
this.addClickListener(new RBClickListener());
this.setName(group + ":" + label);
}
class RBClickListener implements ClickListener {
public void onClick(Widget sender) {
deckPanel.showWidget(deckIndex);
}
}
}