Yes it does work.
Apparently there was a problem with the flex table "t" (not shown in
the above code). If I add the fieldset widget directly to the
rootpanel it works fine thus:
<code>
final Button b = new Button("Click Me");
b.addClickHandler(new ClickHandler() {
public void onClick(ClickEvent e) {
Window.alert("Clicked " + b.getText());
}
});
Element fset = DOM.createFieldSet();
Element leg = DOM.createLegend();
leg.setInnerText("Options");
fset.appendChild(leg);
RootPanel.get().add(new Fielset(fset, b));
</code>
Thanks again Thomas for pointing me in the right direction
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---