A project of The Apache Software Foundation
Navigation

How to create bookmarkable links

Create bookmarkable page links that users can share and bookmark

A link to a bookmarkable page can be built with the link component org.apache.wicket.markup.html.link.BookmarkablePageLink:

BookmarkablePageLink bpl=new BookmarkablePageLink<Void>("myLink", PageWithParameters.class, pageParameters);

The specific purpose of this component is to provide an anchor to a bookmarkable page, hence we don’t have to implement any abstract method like we do with Link component.