Jeremy, That does not explain why the whole class is deprecated. Getting rid of the constructor you linked to is a good thing, but why get rid of the whole class when using an IPageLink is really just an indirection to overriding onClick (with the added benefit of being able to use the page identity for security checks).
2010/1/16 Jeremy Thomerson <jer...@wickettraining.com>: > Gone because creating the page(s) during the rendering of another page is a > bad idea. It should be done in the onClick handler. See the comment in the > deprecation note (of the method, not just the class). > > http://fisheye6.atlassian.com/browse/wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/link/PageLink.java?r=814819#l122 > > -- > Jeremy Thomerson > http://www.wickettraining.com > -- Jeroen Steenbeeke www.fortuityframework.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org