My final Fieldset widget looks like so:

<code>
class Fielset extends SimplePanel {
        public Fielset(String as_legend, Widget w) {
            super(DOM.createFieldSet());
            Element fset = this.getContainerElement();
            Element leg = DOM.createLegend();
            leg.setInnerText(as_legend);
            fset.appendChild(leg);
            add(w);
        }
    }
</code>

Hope it helps someone.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to