Search in sources :

Example 1 with PopupSettings

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;
}
Also used : BookmarkablePageLink(org.apache.wicket.markup.html.link.BookmarkablePageLink) PopupSettings(org.apache.wicket.markup.html.link.PopupSettings) PageParameters(org.apache.wicket.request.mapper.parameter.PageParameters)

Aggregations

BookmarkablePageLink (org.apache.wicket.markup.html.link.BookmarkablePageLink)1 PopupSettings (org.apache.wicket.markup.html.link.PopupSettings)1 PageParameters (org.apache.wicket.request.mapper.parameter.PageParameters)1