On Fri, May 15, 2009 at 10:24 AM, Jeremy Thomerson <[email protected]> wrote: > Interestingly, in the long-standing defacto > article on asking smart questions, the very first thing it says to do > is to search the forums [1].
FWIW, I did search the list, before posting. I found a lot of disagreement about this topic, no resolution, and mostly threads that just trailed off. I was hoping that perhaps there was a consensus pointing to a best practice with respect to creating component hierarchies in wicket that works around the problem of constructors in java, but that does not seem to be the case. Some people advocate onBeforeRender with checks to make sure it's the first time, some people advocated adding an onBeforeFirstRender() to the framework, which never made it in. Some use init() methods like I posted, and some use factory patterns. If the consensus is just that TMTOWTDI, that's fine too I suppose, but it will result in this thread resurfacing bi-monthly. If I were to write up a wiki document right now on this topic, it would reflect my own confusion on this topic, so I'll wait until lucidity arrives. -Clint --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
