On Tue, Jan 31, 2012 at 5:44 PM, Martin Grigorov <[email protected]> wrote: > Now I think Component#onMarkupAttached() becomes obsolete. > #onInitialize() serves the same purpose, > Should we deprecate it in 1.5.x and remove it in 6.0 ?
AFAIK the proper way of deprecating would be to deprecate in 6.0 and remove in 7.0, if we are going to utilize semver. That said, 1.5 doesn't use semver, #onMarkupAttached() seems like a method that is not often overridden in user code. In my workspace with about 1M lines of code, 1k pages and 10k Java files there is only one component that overrides the onMarkupAttached method: org.apache.wicket.MarkupContainer. So +1 to deprecate 1.5.x and remove in 6.0 Martijn -- Become a Wicket expert, learn from the best: http://wicketinaction.com
