wicket 6.x或7.x中的PageMap

时间:2017-06-27 07:09:11

标签: wicket wicket-1.5 wicket-6 wicket-1.6 wicket-7

我正在尝试将以下代码转换为wicket 6.x,但我无法找到一些必需的方法,有没有人有任何解决方案呢?

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

1 个答案:

答案 0 :(得分:2)

您不需要PageMap您只能发送字符串:

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

了解更多check this link