Description
We have a two link components that both point to the same page. We want the title to be a link plus at the end we want a 'read more' link to point to the exact same URL.
// Link with Title as text:
BookmarkablePageLink link = new BookmarkablePageLink("newsLink", OtherPage.class);
listItem.add(link);
link.add(new Label("newsTitle", news.getTitle()));
// Link with 'Read more' as text
listItem.add(new Label("newsTitle", news.getTitle()));
This works fine outside of a list view as the quickstart shows.
This worked find for in and out of a ListView in wicket 1.4.
In wicket 1.5 the second link is a duplicate of the first, ignoring the markup's 'read me' link.
I have attached a quickstart that demonstrates this.
Note: we use:
getDebugSettings().setComponentUseCheck(false);