Hi Martin,
I just noted something while writing my answer to this thread: the link
on http://wicket.apache.org/learn/#guide for Wicket 6 migration guide is
broken, or rather the redirection of http://s.apache.org/wicket6migrate
is broken: it leads to
https://cwiki.apache.org/confluence/display/WICKET/Migrating+to+Wicket+6.0
when the actual migration guide is at
https://cwiki.apache.org/confluence/display/WICKET/Migration+to+Wicket+6.0
On 21/08/15 12:20, Martin Grigorov wrote:
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
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org