Clarifies the order in which onLoad() and onUnload() will be called. onLoad() will always be
called *after* a Widget becomes attached, and onUnload() will be called just *before* a
Widget is detached.

Also adds template methods doAttachChildren() and doDetachChildren() making it easier for
Widgets to maintain this contract correctly.

Patch by: jgw
Review by: knorton, sandymac
Issue: 1121



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