// Link to Page3 is an external link which takes a parameter
add(new BookmarkablePageLink("page3Link", Page3.class).setParameter("bookmarkparameter",
"3++2 & 5 � >< space + �"));
// Link to BookDetails page
add(new PageLink("bookDetailsLink", new IPageLink()
{
public Page getPage()
{
return new BookDetails(new Book("The Hobbit"));
}
public Class getPageIdentity()
{
return BookDetails.class;
}
}));
// Delayed link to BookDetails page
add(new PageLink("bookDetailsLink2", new IPageLink()
{
public Page getPage()
{
return new BookDetails(new Book("Inside The Matrix"));
}