use of org.apache.wicket.markup.html.link.PopupSettings in project wicket-dashboard by decebals.
the class DetachWidgetAction method getLink.
@Override
public AbstractLink getLink(String id) {
PageParameters parameters = new PageParameters();
parameters.add("id", widget.getId());
BookmarkablePageLink<Void> link = new BookmarkablePageLink<Void>(id, WidgetPage.class, parameters);
PopupSettings popupSettings = new PopupSettings(widget.getTitle()).setHeight(320).setWidth(550);
link.setPopupSettings(popupSettings);
return link;
}
Aggregations