setResponsePage(new BookDetails(new Book("Inside The Matrix")));
}
});
// Image map link example
add(new ImageMap("imageMap").addRectangleLink(0, 0, 100, 100,
new BookmarkablePageLink("page1", Page1.class)).addCircleLink(160, 50, 35,
new BookmarkablePageLink("page2", Page2.class)).addPolygonLink(
new int[] { 212, 79, 241, 4, 279, 54, 212, 79 },
new BookmarkablePageLink("page3", Page3.class)).add(
RelativePathPrefixHandler.RELATIVE_PATH_BEHAVIOR));