AbstractForm ported from GWT-Bootstrap.