@Override
public void onClick() {
setResponsePage(DND2Page.class);
}
};
linkInternal.add(new PrettyPopinBehavior(new PrettyPopinOptions()
.width(500).height(400).followScroll(false)));
add(linkInternal);
ExternalLink linkExternal = new ExternalLink("linkExternal",
"http://localhost:8080/prettypopin");
linkExternal.add(new PrettyPopinBehavior(new PrettyPopinOptions()
.width(500).height(400).followScroll(true)));
add(linkExternal);
}