How to properly implement custom widgets: onRender vs constructor?
I'm currently evaluating gxt and for that purpose I want to create some new widgets. These widgets are just composed of existing widgets. E.g. I subclass a layout container and add some content panels and into them some other widgets.
What I am currently confused is whether I should populate these widgets in the constructor (gwt style) or in the onRender() method. I browsed through the examples and read in the help center, but I could not get a concise answer (sometimes it's done in the constructor, sometimes in onRender()). So what's the proper way to do this?