Hi,

The easy fix is: use BookmarkablePageLink.

The class has been deprecated for 1.5 and removed for 6.x, I think.
I will be easier for you if you upgrade from 1.4 to 1.5, then to 6.x and
finally to 7.0.0.
This way you will see the deprecation warnings and the new suggestions.


Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Fri, Aug 21, 2015 at 12:13 PM, Jörg Schaible <
joerg.schai...@swisspost.com> wrote:

> Hi,
>
> I have never worked with Wicket, but should migrating an application from
> 1.4.x to 7.0. I am searching a replacement for
> org.apache.wicket.markup.html.link.PageLink. It no longer available and is
> not mentioned anywhere in the migration guides.
>
> Following elements are added in the constructor of a derived WebPage:
>
> ================= %< ===============
>  final DataDetachableModel DataDetachableModel = new
> DataDetachableModel(model);
>  add(new FilterForm("filterForm", dataDetachableModel));
>  add(new DataTable("data", dataDetachableModel));
>  add(new PageLink("newData", DataCreatePage.class));
> ================= %< ===============
>
> The PageLink class no longer exists ...
>
> What can I use now?
>
> Cheers,
> Jörg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to