Sorry, I did find a discussion which was related [1] which ended with Igor saying:
"yes, but its also easy to fix. Just don't call any overridible methods inside constructors. And for everything else there is onbeforerender()" If this is the recommended way to write extendible components I could add a wiki page because it is not very intuitive. So to be clear, whenever building a component designed to be extendible: 1 - Call all overridable methods from onBeforeRender() 2 - Check that components are not added more than once 3 - call super.onBeforeRender() Anything else to keep in mind? Thanks, John [1] http://www.nabble.com/Re%3A-Jira-issue-moved-to-the-list%3A-constructors-and-init-of-components-p13569575.html Martijn Dashorst wrote: > > We have discussed this over and over on the list. Search the archives. > Short answer: NO. > -- View this message in context: http://www.nabble.com/Alternative-method-to-initialise-page-tp16742636p16911887.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
