wicketwicket-1.5wicket-6wicket-1.6wicket-7

PageMap in wicket 6.x or 7.x


I am trying to convert below code into wicket 6.x, But I am unable to find some required methods, does anybody have any solution for this?

  PopupSettings popupSettings = new PopupSettings(PageMap.forName("popuppagemap"), PopupSettings.SCROLLBARS).setHeight(500).setWidth(700);

Solution

  • You dont need a PageMap You can send only string :

    PopupSettings popupSettings = new PopupSettings("popuppagemap", PopupSettings.SCROLLBARS).setHeight(500).setWidth(700);
    

    To know more check this link