Fix to keep FocusWidget's setElement() implementation from clobbering
tabindex when it's already set. This comes up in practice when calling, e.g.,
TextBox.wrap() on a static element that already had a perfectly good
tabindex.

Second attempt at this patch -- the first one broke tests because of the
weird DOM structure created by CheckBox/RadioButton. This one uses onAttach()
rather than setElement(), which is cleaner anyway, and I've tested it pretty
thoroughly.

Review at http://gwt-code-reviews.appspot.com/153817


git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@7642 8db76d5a-ed1c-0410-87a9-c151d255dfc7
2 files changed